Excel Add-In for Square

Build 24.0.9062

PublishInvoice

Publishes the specified draft invoice.

Stored Procedure Specific Information

Execute

To execute this stored procedure, you need to provide the InvoiceId and its corresponding version number to publish. This version number must match the current version of the invoice; otherwise, the request is rejected.

EXEC PublishInvoice InvoiceId = 'inv:0-ChAALv-Dv-66y_I0TT0hCN2UEL0M', InvoiceVersion = 7

Input

Name Type Required Description
InvoiceId String True The ID of the invoice to publish.
InvoiceVersion Int32 True The version of the invoice to publish. This must match the current version of the invoice; otherwise, the request is rejected.

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