Get documents and photos with their type
There are two types of documents in Dashdoc :
Documents generated by our solution.
These documents are found in the
documentslist in transports data. For example the CMR or the order confirmation document. . Every element of the list is a document, characterized by itscategory(cmrandldvfor CMRs,rentalfor rental order document,orcfor Order confirmation,chcfor Chartering confirmation, andloading_planfor loading plan) and the fieldfilewhich is a link to the PDF document.
Documents, including photos, added by Dashdoc users (through the mobile app, the web app or the API).
These are located in the
messageslist in transports data.The
typefield indicates the nature of the document (possible values listed in the API reference).The
document-typefield indicates the use of the document. Possibilities are:CMR (
"document_type": "cmr"). ⚠️ if a trucker uploads a photo of a CMR, it will appear here. This CMR will be the unique source of truth for the transport and the PDF document generated by Dashdoc will no longer appear in thedocumentssection. There might be a photo uploaded after the pick-up and another after the delivery.Delivery note (
"document_type": "delivery_note")Transport order (
"document_type": "confirmation")Weight note (
"document_type": "weight_note")Invoice (
"document_type": "invoice")Washing note (
"document_type": "washing_note")Load photo (
"document_type": "load_photo")Waste manifest (
"document_type": "waste_manifest")Holders swap note (
"document_type": "holders_swap_note")Other (
"document_type": "")
URL to the document file is in the
documentfield.⚠️ Not every message contains a document, there are also messages with only text. Be careful to only import messages with a non-empty
documentfield to retrieve photos.
Last updated
Was this helpful?