Products
/- Mirakl Platform
- Rest Seller APIs
- DR73 - Download accounting documents
DR11 - List accounting documents requests
DR12 - List lines of a document request
DR74 - Upload 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)
DR73 - Download accountin...
Description
At least one of the following filters must be applied: document_id or entity_id
If more than one document is requested, the output of the API will be a ZIP archive.
The tree structure of this archive is as follows:
documents-1624624030618.zip
|
|__ product-logistic-order/
|__ order1-A/
| |__ INV203837.pdf
| |__ INV203837.cxml
|__ order1-B/
|__ INV203839.pdfSecurity
Shop-API-Key(Required scopes: ROLE_SHOP_ADMIN
ROLE_PARTNER_CUSTOMER_ACCOUNTING...
ROLE_PARTNER_ACCOUNTING_DOCUMENT...
)Entity identifiers related to the documents to download. This parameter can be supplied multiple times.
The entity_type must be specified to use this filter, otherwise an error 400 will be returned.
Example: entity_id=order1-A&entity_id=order20-A&entity_type=PRODUCT_LOGISTIC_ORDER
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/document-request/documents/download
curl -i -X GET \
'https://your-instance.mirakl.net/api/document-request/documents/download?document_request_id=string&document_id=string&document_format=PDF&entity_id=string&entity_type=PRODUCT_LOGISTIC_ORDER&shop_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'