Supplier Documents
📄️ List Supplier Documents
Fetch a list of the portal supplier documents (purchase invoices, credit notes, ...).
📄️ Create a Supplier Document
Create a [SupplierDocument](../api-docs/definitions/supplier-document.md) in the current [portal](../api-docs/definitions/portal.md), from a PDF previously uploaded with `POST /supplier-documents/upload-asset`.
📄️ Upload a Supplier Document PDF
Upload the PDF of a supplier document and get the temporary `assetKey` to pass as the `fileKey` of `POST /supplier-documents`.
📄️ Get Supplier Document
Find a supplier document by ID.
📄️ Export supplier document as PDF
Download the supplier document as a PDF file.
📄️ Update the status of a Supplier Document
Move a [SupplierDocument](../api-docs/definitions/supplier-document.md) to a new status, as you would from the INFast app.
📄️ List the status history of a Supplier Document
Fetch the status changes recorded on a [SupplierDocument](../api-docs/definitions/supplier-document.md), most recent first.
📄️ Supplier document created
This event is triggered when a new [Supplier Document](../api-docs/definitions/supplier-document.md) is created, whatever its origin: manual import or e-invoicing network reception.
📄️ Supplier document updated
This event is triggered when an existing [Supplier Document](../api-docs/definitions/supplier-document.md) is modified. Changes limited to internal fields do not trigger it.
📄️ Supplier document status changed
This event is triggered when the status of a [Supplier Document](../api-docs/definitions/supplier-document.md) changes. The new status is not duplicated in the payload: it is carried by `supplierDocument.status`.