Skip to main content
Files are the invoice documents Trackstar collects from a carrier connection: invoice CSVs and PDFs, plus a few files Trackstar builds itself when a carrier has no single invoice file to download (Royal Mail’s CSVs and FedEx’s credit note history). The files endpoint returns presigned download URLs that expire after 20 minutes. Each carrier delivers a different set of files. For what each one sends, how the files are named, and inline sample rows and downloadable synthetic CSVs, see Carrier Sample Files.

Fields

Filtering on a file_type the carrier never produces returns a 400 that lists the types it does produce.
Raw files can overlap. The same charge can appear in more than one file, for example a FedEx preliminary CSV and its final CSV, or two USPS or DPD downloads that share a boundary date. Each carrier page says when this happens. Invoice Line Items are de-duplicated, so use them if you need totals.