Skip to main content
Invoice Line Items represent individual charges on a carrier invoice. Each line item is one charge — not one shipment and not one invoice. A single shipment typically produces multiple line items (for example, a base freight charge, a fuel surcharge, and a residential delivery surcharge would be three separate line items). Invoice formats vary by carrier — UPS, FedEx, USPS, DHL, DPD, and Royal Mail each structure their invoices differently, and some carriers’ shapes vary further by billing region. Trackstar parses each carrier’s native format into a unified line-item schema described below. For concrete CSV shapes per integration, see Carrier Sample Files.

Fields

FieldDescription
idUnique identifier for the invoice line item
transaction_dateDate the charge was incurred
account_idCarrier account ID associated with the charge
invoice_idInvoice ID from the carrier
gross_costGross cost before discounts
net_costNet cost after discounts
charge_descriptionDescription of the charge type