Perform invoice action

View as Markdown

Authentication

Authorizationstring
API Key authentication via header

Path parameters

idstringRequired
Customer Id
invoiceIdstringRequired
Invoice Id

Request

Invoice actions for sending an invoice. Validation rules: 1. At least one of sendToErp or sendToCustomer must be true 2. sendToErp can be true while sendToCustomer is false (push to ERP only) 3. sendToCustomer can be true while sendToErp is false (email customer only; useful when no ERP is connected) 4. If sendToErp is true but the merchant has no ERP integration connected, the request is rejected 5. the field overrideInvoiceDate is optional
SendInvoiceDtoobjectRequired
OR
MarkInvoiceAsPendingDtoobjectRequired
OR
MarkInvoiceToSentOffTabsDtoobjectRequired
OR
MarkInvoiceAsScheduledDtoobjectRequired
OR
MarkInvoiceAsVoidDtoobjectRequired
OR
SendReminderEmailDtoobjectRequired

Response

Invoice marked as pending or sent off Tabs successfully
payloadobject
Response payload, will be empty when success is false
successboolean

Boolean with true=success, false=failure

messagestring

Plain-text description of the result

errorobject
json element with any error messages or warnings

Errors

400
Bad Request Error
500
Internal Server Error