Products
/- Mirakl Platform
- Rest Seller APIs
- DR74 - Upload accounting documents
DR11 - List accounting documents requests
DR12 - List lines of a document request
DR73 - Download accounting documents
DR75 - Confirm accounting documents issuance
IV01 - List accounting documents
IV02 - Download an accounting document
SBC11 - List seller billing cycles
TL02 - List transaction lines
TL03 - Export transaction lines JSON file asynchronously
TL04 - Poll the status of an asynchronous transaction log export (TL03)
TL05 - Retrieve transaction logs files once asynchronous transaction logs export is complete (TL04)
DR74 - Upload accounting...
Description
Documents filenames must be distinct.
If several formats are required for a document request, they must all be uploaded at once.
A maximum of 50 documents can be uploaded simultaneously.
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMIN
ROLE_PARTNER_CUSTOMER_ACCOUNTING...
)- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/document-request/documents/upload
curl -i -X POST \
https://your-instance.mirakl.net/api/document-request/documents/upload \
-H 'Content-Type: multipart/form-data' \
-F 'documents_input="{\"requests\":[{\"document_number\":\"string\",\"due_date\":\"2023-03-28T09:34:42Z\",\"files\":[{\"format\":\"PDF\",\"name\":\"string\"}],\"issue_date\":\"2023-03-28T09:34:42Z\",\"request_id\":\"string\",\"total_amount_excluding_taxes\":0,\"total_tax_amount\":0}]}";type=application/json' \
-F 'files=@path/to/file'