# Invoicing and Accounting ## DR11 - List accounting documents requests - [GET /api/document-request/requests](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/dr11.md): PaginationThis resource supports seek pagination (see documentation)Sort fieldssort field can have the following values:dateCreated (Default) - Sort by creation date (desc by default) ## DR12 - List of document request lines - [GET /api/document-request/{document_request_id}/lines](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/dr12.md): PaginationThis resource supports seek pagination (see documentation)Sort fieldssort field can have the following values:dateCreated - Sort by creation date (asc by default) ## DR73 - Download accounting documents - [GET /api/document-request/documents/download](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/dr73.md): At least one of the following filters must be applied: document_id or entity_idIf 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.pdf ## DR74 - Upload accounting documents - [POST /api/document-request/documents/upload](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/dr74.md): 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. ## IV01 - List accounting documents - [GET /api/invoices](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/iv01.md): Call FrequencyRecommended usage: Once per day and as many times as there are invoice pages returnedMaximum usage: Once per day and as many times as there are invoice pages returnedPaginationThis resource supports offset pagination (see documentation)Sort fieldssort field can have the following values:dateCreated (Default) - Sort by creation date (asc by default) ## IV02 - Download an accounting document - [GET /api/invoices/{accounting_document_id}](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/iv02.md): Call FrequencyRecommended usage: At each invoice downloadMaximum usage: At each invoice download ## TL02 - List transaction lines - [GET /api/sellerpayment/transactions_logs](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/tl02.md): This resource uses seek pagination. The maximum allowed value for parameter limit is 2000.Call FrequencyRecommended usage: 20 times per dayMaximum usage: 20 times per min, 60 times per hourPaginationThis resource supports seek pagination (see documentation)Sort fieldssort field can have the following values:dateCreated (Default) - Sort by creation date (desc by default)lastUpdated - Sort by last updated date (Recommended) (desc by default) ## TL03 - Export transaction lines JSON file asynchronously - [POST /api/sellerpayment/transactions_logs/async](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/tl03.md): The export is asynchronous. Export status can be retrieved by calling TL04.Call FrequencyRecommended usage: once per dayMaximum usage: once per day ## TL04 - Poll the status of an asynchronous transaction log export (TL03) - [GET /api/sellerpayment/transactions_logs/async/status/{tracking_id}](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/tl04.md): Retrieve the status for an TL03 transaction log export. When the export is complete, the URLs to retrieve the files are returned. Call FrequencyRecommended usage: Once per minute until you get an error or a successMaximum usage: Every 10 seconds ## TL05 - Retrieve transaction logs files once asynchronous transaction logs export is complete (TL04) - [GET /dynamic-url/The+URL+is+retrieved+from+TL04+output/TL05](https://developer.mirakl.com/content/product/mmp/rest/seller/openapi3/invoicing-and-accounting/tl05.md): Retrieve each chunk of an transaction logs export file via the URL generated once the asynchronous transaction logs export is complete