latestSwagger 2.02026-08-0938140266.1 KB

7f72642d80e6

InvoiceSubmissions

DEPRECATED. Submit a new invoice

DEPRECATED. Use the new /document_submissions endpoint. Submit an invoice for delivery.

post/invoice_submissions

Request body

createPrimaryImageboolean

DEPRECATED. In the future we will no longer support creating PDF invoices. Whether or not to create a primary image (PDF) if one is not provided. For customers who started from December 1st 2022, the default is false. For customers who started before that, the default is true.

mode'direct'

DEPRECATED.

supplierIdinteger

DEPRECATED.

legalSupplierIdinteger

DEPRECATED. Use legalEntityId

legalEntityIdinteger

The id of the LegalEntity this invoice should be sent for.

idempotencyGuidstring

A guid that you generated for this InvoiceSubmission to achieve idempotency. If you submit multiple documents with the same idempotencyGuid, only the first one will be processed.

documentstring

DEPRECATED. Use attachments.

documentUrlstring uri

DEPRECATED. Use attachments.

invoiceInvoice — unresolved $ref

Response

Success

guidstring

A (V4) GUID for the invoice submission