Products
/- Mirakl Platform
- Rest Seller APIs
- DR76 - Issue the accounting documents and trigger the generation of their associated file(s)
DR11 - List accounting documents requests
DR12 - List lines of a document request
DR73 - Download accounting documents
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)
DR76 - Issue the accounti...
Description
Which document to generate depends on the configuration.
For now this only works for per-order purchase invoices (LOGISTIC_PURCHASE_ORDER) when the cXML feature is enabled.
A maximum of 100 requests can be issued 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/generate
curl -i -X POST \
'https://your-instance.mirakl.net/api/document-request/documents/generate?shop_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"requests": [
{
"due_date": "2023-03-28T09:34:42Z",
"issue_date": "2023-03-28T09:34:42Z",
"request_id": "string",
"total_amount_excluding_taxes": 0,
"total_tax_amount": 0
}
]
}'