Skip to main content

Overview

UPS delivers one CSV per billing period. Each row is a single charge — a shipment with a base freight charge, a fuel surcharge, and a tax becomes three rows that share the same Tracking Number and Invoice Number. The CSV has 252 columns covering shipment identification, package details, charges, sender/receiver/third-party addresses, customs data (for international shipments), and freight-forwarding metadata.

Shape notes

  • Multi-row shipments. Expect 2–5 rows per Tracking Number, one per charge type.
  • Net vs. gross. Net Amount is what the customer paid for the charge. Incentive Amount is the discount; Net Amount + Incentive Amount = gross charge before discount.
  • Charge types are coded. The Charge Classification Code column contains a 3-letter code (FRT, FSC, ACC, TAX, etc.) — Trackstar maps these to human-readable charge descriptions in the normalized charge_description field.
  • International columns. The majority of columns (Customs Number, Duty Amount, VAT Amount, etc.) are only populated for international shipments. Most domestic US rows leave them empty.
  • Place Holder columns (46–59). Empty columns reserved by UPS for future use.

Sample rows

Curated subset showing the most shape-informative columns. The downloadable CSV below has all 252 columns.
Account Number,Invoice Number,Transaction Date,Tracking Number,Lead Shipment Number,Zone,Charge Classification Code,Charge Description,Basis Value,Incentive Amount,Net Amount
KX2RDL,ULN-0563196946,2026-03-24,1Z8CZ3C80496442033,1ZGIB8MW7257008693,3,FRT,Transportation Charges,40.21,3.30,36.91
KX2RDL,ULN-0563196946,2026-03-24,1Z8CZ3C80496442033,1ZGIB8MW7257008693,3,FSC,Fuel Surcharges,13.92,1.31,12.61
KX2RDL,ULN-0563196946,2026-03-03,1ZH6ZTPU9908473687,1Z446QNL9666456748,4,FRT,Transportation Charges,64.20,1.75,62.45
KX2RDL,ULN-0563196946,2026-03-03,1ZH6ZTPU9908473687,1Z446QNL9666456748,4,TAX,Taxes,11.38,0.95,10.43
KX2RDL,ULN-0563196946,2026-03-08,1Z0860QU7406981544,1ZP1I0Y86447412718,8,FRT,Transportation Charges,85.12,3.85,81.27

Download

Download full sample CSV (25 rows, 252 columns)
All sample data is synthetic. Tracking numbers, account numbers, addresses, and reference fields are fabricated and do not correspond to any real shipments or customers.

Fields

UPS columns are grouped below by functional family. All 252 columns are delivered in every invoice in the order shown.

Invoice identification

ColumnDescriptionExample
VersionUPS CSV schema version6.1
Recipient NumberAccount number of the invoice recipientKX2RDL
Account NumberBilling account numberKX2RDL
Account CountryISO country code of the billing accountUS
Invoice DateDate the invoice was issued2026-03-31
Invoice NumberUnique invoice identifierULN-0563196946
Invoice Type CodeInvoice type (01 = standard)01
Invoice Type Detail CodeSubtype of the invoice01
Account Tax IDTax ID associated with the account(populated for EU/non-US accounts)
Invoice Currency CodeISO 4217 currency of this invoiceUSD
Invoice AmountTotal invoice amount in Invoice Currency Code182.77
Invoice Due DateWhen payment is due2026-04-30
Alternate Invoicing Currency CodeSecondary currency (if dual-currency billing)EUR
Alternate Invoice AmountTotal in the alternate currency167.20
Invoice Exchange RateRate used to convert to Alternate Invoicing Currency Code0.915
Alternate Invoice NumberSecondary invoice reference
Tax Variance AmountTax adjustment
Currency Variance AmountCurrency conversion adjustment
Invoice Level ChargeFlag: is this an invoice-level (not shipment-level) chargeY / N

Shipment and package

ColumnDescriptionExample
Transaction DateDate the charge was incurred (usually ship date)2026-03-24
Pickup Record NumberUPS pickup manifest number8834217511
Lead Shipment NumberPrimary shipment identifier; used as the line-item ID1ZGIB8MW7257008693
World Ease NumberUPS World Ease consolidation identifier
Shipment Reference Number 1 / 2Customer-supplied shipment refsORDER-12345
Bill Option CodePP (prepaid), FC (freight collect), TP (third party), etc.PP
Package QuantityNumber of packages on this shipment1
Oversize QuantityHow many of those packages were oversize0
Tracking NumberUPS 1Z tracking number for the package1Z8CZ3C80496442033
Package Reference Number 15Customer-supplied package-level refs
Entered WeightActual weight at ship time8.4
Entered Weight Unit of MeasureLB or KGLB
Billed WeightWeight UPS billed (may be dimensional weight)12.0
Billed Weight Unit of MeasureUnit for billed weightLB
Container TypeContainer code (LTR, PKG, PAK, etc.)PKG
Billed Weight TypeA = actual, D = dimD
Package DimensionsLxWxH formatted string12x9x6
Package Dimension Unit Of MeasureIN or CMIN
Raw dimension lengthRaw dim length12
Raw dimension unit of measureUnit for raw dimIN
Detail Keyed DimKeyed-in dimensions
Detail Keyed Unit of MeasureUnit for keyed dims
Detail Keyed Billed DimensionBilled keyed dim
Detail Keyed Billed Unit of MeasureUnit for keyed billed dim
Scale weight quantityWeight per scale reading
Scale Weight Unit of MeasureUnit for scale weight
SCC Scale WeightScale weight (SCC context)
ZoneUPS zone (1–8) indicating shipping distance4
Corrected ZoneZone after address correction, if any
Original Shipment Package QuantityOriginal piece count before correction
Original tracking numberPrior tracking number if shipment was re-labeled
Original Service DescriptionText of the shipping serviceUPS Ground
Shipment Value AmountDeclared value250.00
Shipment DescriptionText description of shipment contents

Charges

ColumnDescriptionExample
Charge Category CodeHigh-level charge bucketT (transportation)
Charge Category Detail CodeSubcategory
Charge SourceOrigin of the chargeS (shipment)
Type Code 1 / Type Code 2Internal UPS charge type codes
Type Detail Code 1 / 2Subcodes
Type Detail Value 1 / 2Values paired with the type codes
Charge Classification CodePrimary charge type. FRT, FSC, ACC, TAX, GOV, BRK, EXM, MSC, INFFRT
Charge Description CodeHuman-readable code for the chargeFRT
Charge DescriptionDisplay text for the chargeTransportation Charges
Charged Unit QuantityNumber of units the charge applies to1
Basis Currency CodeCurrency the charge was computed inUSD
Basis ValueGross amount before discount40.21
Tax IndicatorY if this charge is a taxN
Transaction Currency CodeCurrency the charge was billed inUSD
Incentive AmountDiscount applied3.30
Net AmountFinal charged amount (Basis ValueIncentive Amount)36.91
Miscellaneous Currency CodeCurrency for any misc charge
Miscellaneous Incentive AmountMisc discount
Miscellaneous Net AmountMisc net
Tax Law Article NumberReference to applicable tax law
Tax Law Article Basis AmountBasis amount per tax law

Addresses

UPS ships four address blocks per row (Sender, Receiver, Third Party, Sold To) plus two optional “Miscellaneous Address” blocks. Each block has the same 8 columns.
ColumnDescriptionExample
Sender Name / Receiver Name / Third Party Name / Sold To NameContact nameJane Smith
{Block} Company NameCompany nameAcme Corp
{Block} Address Line 1 / Address Line 2Street address123 Main St
{Block} CityCityAtlanta
{Block} StateState or regionGA
{Block} PostalPostal/ZIP code30309
{Block} CountryISO country codeUS
Miscellaneous Address Qual 1 / 2Qualifier describing what the misc address representsBROKER
Miscellaneous Address 1 NameCountryFull 8-col address block for misc 1
Miscellaneous Address 2 NameCountryFull 8-col address block for misc 2

Shipment lifecycle dates

ColumnDescription
Shipment DateWhen the shipment was tendered to UPS
Shipment Export DateDate exported from origin country
Shipment Import DateDate imported into destination country
Entry DateCustoms entry date
Direct Shipment DateDirect-ship date
Shipment Delivery DateWhen the shipment was delivered
Shipment Release DateCustoms release date
Cycle DateUPS billing cycle date
EFT DateElectronic funds transfer date
Validation DateInvoice validation date

Customs and international freight

Most of these columns are empty for domestic US shipments.
ColumnDescription
Entry PortPort code where shipment entered
Entry NumberCustoms entry number
Export PlacePlace of export
Entered Currency CodeDeclared currency
Customs NumberCustoms reference
Exchange RateFX rate applied
Master Air Waybill NumberMaster AWB for air freight
EPUEntry Processing Unit code
Entry TypeType of customs entry
CPC CodeCustoms Procedure Code
Line Item NumberCommercial invoice line number
Goods DescriptionDescription of goods
Entered ValueDeclared value
Duty AmountDuties owed
WeightCustoms weight
Unit of MeasureWeight unit
Item Quantity / Item Quantity Unit of MeasureUnits and their UoM
Import Tax IDImporter tax ID
Declaration NumberCustoms declaration number
Carrier Name/Clinical Trial Identification Number/SDS IDMulti-use identifier
CCCD NumberCountry-specific customs doc number
Cycle NumberBilling cycle number
Foreign Trade Reference NumberFTR number
Job NumberInternal UPS job number
Transport ModeAir, ground, ocean
Tax Type / Tariff Code / Tariff Rate / Tariff Treatment NumberTariff fields
Contact Name / Class Number
Document Type / Document Number / Office NumberCustoms docs
Duty Value / Duty Rate
Total Value for Duty
Excise Tax Amount / Excise Tax Rate
GST Amount / GST RateCanadian GST
VAT Basis Amount / VAT Amount / VAT RateEU VAT
Other Basis Amount / Other Amount / Other RateOther tax fields
Other Customs Number Indicator / Other Customs Number
Customs Office NameName of the processing customs office
Order In Council / SIMA Access / Tax ValueCanadian customs fields
Total Customs AmountSum of all customs charges
Origin CountryCountry of origin

Freight and reference numbers

ColumnDescription
BOL # 1BOL # 5Bill of Lading numbers
PO # 1PO # 10Purchase order numbers
NMFCNational Motor Freight Classification code
Detail ClassFreight class
Freight Sequence NumberSequence within a freight shipment
Declared Freight ClassCustomer-declared freight class
EORI NumberEU Economic Operator Registration number
Customer Reference NumberCustomer-supplied invoice reference
Store NumberRetail store number

Miscellaneous and placeholder

ColumnDescription
Miscellaneous Line 15, 711Unclassified misc fields
Payor Role CodeRole of the paying party (SHP, CON, TP)
Promo Discount Applied IndicatorFlag for promo discounts
Promo Discount AliasPromo code
SDS Match Level Cd / SDS RDR Date / SDS Delivery Date / SDS Error CodeSurepost Delivery Service fields
Place Holder 4659Reserved empty columns