Skip to main content

Line Item Types

Retrieve the list of line item types used in shipping estimates and invoices.

Endpoint​

GET /line_item_types

Description​

Fetch all available line item types that appear in shipping estimates and invoices. These categorize different types of charges that may be applied to shipments.

Request Example​

curl -X GET \
https://orders-production.vatit-stream.com/client_api/v2/line_item_types \
-H "Authorization: Bearer YOUR_TOKEN_HERE" \
-H "Content-Type: application/json"

Success Response (200 OK)​

[
{
"id": 1,
"description": "Shipment Protection Fee",
"accounting_dimension": {
"id": 1,
"description": "Additional Charges"
}
},
{
"id": 2,
"description": "Fuel Surcharge",
"accounting_dimension": {
"id": 2,
"description": "Base Rate Fees"
}
},
{
"id": 3,
"description": "Remote Area Surcharge",
"accounting_dimension": {
"id": 1,
"description": "Additional Charges"
}
},
{
"id": 4,
"description": "Customs Clearance Fee",
"accounting_dimension": {
"id": 3,
"description": "Customs & Duties"
}
}
]

Response Fields​

FieldTypeDescription
idintegerUnique identifier for the line item type
descriptionstringName/description of the line item type
accounting_dimensionobjectAccounting category information

Accounting Dimension Object​

FieldTypeDescription
idintegerUnique identifier for the accounting dimension
descriptionstringName of the accounting category

Common Line Item Types​

TypeDescriptionCategory
Base RateStandard shipping chargeBase Rate Fees
Fuel SurchargeVariable fuel cost adjustmentBase Rate Fees
Shipment Protection FeeInsurance/protection coverageAdditional Charges
Remote Area SurchargeExtra charge for remote locationsAdditional Charges
Customs Clearance FeeCustoms processing chargesCustoms & Duties
Liftgate ServiceSpecial delivery equipment feeAdditional Services
Residential DeliveryExtra charge for home deliveryAdditional Services
Saturday DeliveryWeekend delivery surchargeAdditional Services

Usage in API Responses​

Line item types appear in the line_items arrays within estimates and order invoice data:

{
"line_items": [
{
"description": "Fuel Surcharge",
"cost": 127.50,
"currency_id": "USD"
}
]
}

Error Responses​

401 Unauthorized​

Access token is missing or invalid.

Important Notes​

  • Reference Data: This endpoint provides reference information to help understand charges in estimates and invoices
  • Accounting Integration: The accounting dimensions can be used for financial system integration
  • Charge Categories: Line items are grouped by accounting dimensions for better cost categorization
  • Carrier Specific: Different carriers may have different line item types and descriptions
  • Invoice Reconciliation: Use this data to understand and reconcile invoice line items

Caching Recommendations​

Line item type data is relatively stable and can be cached in your application. Consider refreshing this data weekly or monthly as new charge types may occasionally be added.