LclSurchargeItem
One accessorial/surcharge line filed against a contract rate (e.g. Pier Pass, CFS Fuel, Chassis Fee), extracted from the contract's own wording.
amount/unit/min_amount are a best-effort parse of raw_text
and may be None when the line could not be parsed cleanly -- display
raw_text in that case rather than hiding the charge.
- amountType: numbernullable
The charge amount, as filed.
- basisType: stringnullable
How computed_amount was priced for this shipment: per_billable_rt, per_cbm, per_100lbs, per_800lbs or flat_per_shipment (once, per Bill of Lading). Null when unit is a compound or unrecognised form (e.g. 'CBM OR 800LBS') that can't be priced without guessing.
- chargeType: stringnullable
_type Which block of the contract it came from, e.g. 'Destination Charge' or 'Warehouse Charge'.
- computedType: numbernullable
_amount This line's charge for the shipment being priced (amount x the basis's quantity, floored to min_amount). Null when basis is null or amount is missing.
- currencyType: stringnullable
The currency amount and min_amount are filed in.
- descriptionType: stringnullable
The charge's name, as the contract writes it.
- includedType: boolean
_in _total True when computed_amount was added into total_charge. False for every unpriced line, and for a priced line whose currency doesn't match the rate's own currency.
- minType: numbernullable
_amount The minimum charge for this line, if the contract states one.
- rawType: stringnullable
_text The charge exactly as the contract writes it, for display when the parsed fields don't capture it fully.
- unitType: stringnullable
The billing unit it's charged per (W/M, CBM, 800LBS, BILL, ...), as the contract writes it.

