Perform invoice action
Authentication
Authorizationstring
API Key authentication via header
Path parameters
id
Customer Id
invoiceId
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
SendInvoiceDto
OR
MarkInvoiceAsPendingDto
OR
MarkInvoiceToSentOffTabsDto
OR
MarkInvoiceAsScheduledDto
OR
MarkInvoiceAsVoidDto
OR
SendReminderEmailDto
Response
Invoice marked as pending or sent off Tabs successfully
payload
Response payload, will be empty when success is false
success
Boolean with true=success, false=failure
message
Plain-text description of the result
error
json element with any error messages or warnings
Errors
400
Bad Request Error
500
Internal Server Error

