How to Export Data
Get your documents and extraction results out of CargoLint - a CSV or Excel table, corrected PDFs, original files, audit packets, and account data.
Once you’ve reviewed and approved your documents, you can get the data out of CargoLint for your customs declarations, supply-chain systems, or record-keeping. There are a few ways to do it, depending on whether you want a human-readable file, the original upload, a structured evidence bundle, or a live feed into your own systems.
Download a corrected PDF
In the review editor, Download PDF (under the original document) exports a clean PDF of the document’s fields as they stand, your corrections applied, with a version stamp. It’s ready for record retention or to hand to a broker.
It works for every kind CargoLint reads: the invoice, packing list, bill of lading, air waybill, road and rail consignment notes, certificate of origin, insurance certificate, dangerous goods declaration, phytosanitary certificate and health certificate. If you’ve set up branding, the PDF also carries your company logo, and invoices, packing lists, bills of lading and certificates of origin carry your footer note for their type.
Download the original files
The download icon on a document’s row in the Documents list (Download document) fetches the file you uploaded. For documents uploaded together, Download Options also offers Download all batch docs (ZIP).
Download a table (Excel or CSV)
On a document’s page, More offers Export to Excel and Export to CSV: the corrected fields and line items as one table, a row per line item with the header fields repeated. On a shipment’s page the same two actions cover every current document of the shipment in one table, so an invoice’s lines and the packing list’s totals land in the same sheet. Column labels match the review page; amounts and quantities are numbers in Excel, and codes stay text. It is the quickest way into a system that imports spreadsheets. The same files come from GET /api/v1/documents/{id}/export and GET /api/v1/shipments/{id}/export with ?format=xlsx or ?format=csv, on every plan.
Get an audit packet through the API
For a single document or an entire shipment, the API builds an audit packet: a ZIP archive that bundles what a filing or an audit needs:
- the document’s details and its extracted fields as JSON, with the AI’s rating of each field
- the corrected PDF, for the kinds CargoLint reads
- the corrections that were made, and by whom
- the document’s compliance results, and the shipment’s cross-document consistency report
- the version stamp
Request one with POST /api/v1/documents/{id}/audit-packet or POST /api/v1/shipments/{id}/audit-packet. There is no download button for it in the app. See the API overview.
Send data to your own systems
On the Business and Enterprise plans, you don’t have to download at all:
- Webhooks push events to your endpoint as they happen (
document.uploaded,compliance.completed, and more), each signed with HMAC-SHA256 so you can verify the delivery. - The REST API lets you pull documents, extraction results, HS-code classifications, and shipments on demand, with API-key authentication.
See the API overview and webhook setup for details.
Export your account data (GDPR)
Need everything at once? On your Profile page, under Privacy & Data, Export Data prepares a JSON file with your profile, your organization, its documents and extractions, your consents and your recent audit history. This is your GDPR data-portability export. The file is prepared in the background and stays available for 24 hours.
What’s next
- Branding Your Documents - Put your logo and footer notes on exported PDFs
- Reviewing Documents - Correct extracted data before exporting
- Working with Shipments - Group documents into a shipment
- Webhooks API - Push validated data to your systems