SupplierInvoiceImport

Import supplier invoice

Import a supplier invoice that was already received from SDI. The invoice will be sent to the legal storage if necessary

SecurityBearer
Request
Request Body schema:

The new SupplierInvoiceImport resource

invoice
required
string

The base64 encoded invoice XML or P7M.

metadata
string

The base64 encoded invoice metadata XML. If it is not provided you must provide invoice_file_name and sdi_id.

invoice_file_name
string

The invoice filename, to be provided only when there is not metadata.

sdi_id
string

he invoice SDI ID, to be provided only when there is not metadata.

Responses
201

SupplierInvoiceImport resource created

400

Invalid input

404

Resource not found

post/supplier-invoice-imports
Request samples
{
  • "invoice": "string",
  • "metadata": "string",
  • "invoice_file_name": "string",
  • "sdi_id": "string"
}
Response samples
{
  • "uuid": "string"
}