Invoice
Preview an invoice from a sale without persisting it
POST
Preview an invoice from a sale without persisting it
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.
Body
application/json
The sale ID.
Required range:
x >= 1The invoice account ID.
Required range:
x >= 1The invoice series name.
Maximum string length:
50The invoice issue date (YYYY-MM-DD).
Global withholding tax rate as a percentage.
Required range:
0 <= x <= 1Whether to use the passport number on the invoice.
Internal notes.
Maximum string length:
2000Custom invoice line items.
Response
The response is of type object.