ODBC Driver for Square

Build 24.0.9062

DeleteInvoiceAttachment

Removes an attachment from an invoice and permanently deletes the file.

Stored Procedure Specific Information

Execute

You must provide the Attachment Id of the attachment to delete along with its corresponding Invoice Id.

EXECUTE DeleteInvoiceAttachment InvoiceId = 'inv:0-ChC4p4-kE0gkhzWD2-NPhXiuEL0M' , AttachmentId = 'inva:0-ChAhhI2nQl9f_k2_vf6gR_Kq'

Input

Name Type Required Description
InvoiceId String True The ID of the invoice to delete the attachment from.
AttachmentId String True The ID of the attachment to delete.

Result Set Columns

Name Type Description
Success Boolean Whether or not the attachment is removed from the invoice and deleted permanently.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062