Transaction Lines Object Fields

Learn about the fields used to model information at the transaction line level.

These field references describe the fields in a transaction lines object.

The following fields are available:

FieldTypePatternMinMaxDescription
carrier_idString64The carrier identifier.
import_address.country_codeStringThe country code of the country from which the goods are imported.
discounted_tax_amountNumberThe total tax amount associated with all discounts applied to the line.
seller_kindString^[BC]$11The seller type. Use B for business (the default) or C for consumer.
taxesObjectSee Taxes Object Fields.
discountsObjectSee Discount Object Fields.
product_cn_codeString^\\d[\d\.\s]+\\d$16The product code.
product_reference_numberString32The tax reference number. This field is used in the United States.
consignment_idString64The consignment identifier.
parcel_referenceString64The optional identifier for the parcel.
invoice_statusString1Specifies whether an invoice is required, optional, or forbidden. Use R for required, O for optional, or F for forbidden.
unit_priceNumberThe price of one unit.
unit_of_measureString

The unit of measure for the line item. The service uses this value to calculate quantity-based surcharges.

Possible values:
BO: Bottle
BX: Box
CR: Crate
CS: Case
CT: Carton
DAY: Day
EA: Each
FO: Fluid Ounce
GLL: Gallon
HUR: Hour
KG: Kilogram
LTR: Liter
MIN: Minute
PF: Pallet
QT: Quart
STN: Ton
SYD: Square Yard
TRK: Trunk Line

quantityNumberThe quantity of units. Defaults to 1.
is_seller_permanantBooleanSpecifies whether the seller associated with the line exists permanently in the database. The value is true for sellers configured through the Sellers API and false for sellers provided in the transaction request.
custom_fields.[key]String256The key of a custom field.
custom_fields.[value]String256The value of a custom field.
invoice_numberString256The invoice number.
discounted_total_amountNumberThe total amount of all discounts applied to the line.
tax_engine_additional_parameters.[param]String64The custom parameter passed to the tax engine.
tax_engine_additional_parameters.[value]String256The custom value passed to the tax engine.
product_classString128Specifies whether the line represents physical goods, digital goods, or shipping.
amountNumberThe line amount excluding tax. Required if total_amount or both unit_price and quantity are not provided.
seller_codeString1512The seller identifier assigned by the service when the seller is created.
custom_idString64The value that helps identify the transaction line in your financial host system. The field is required for schema validation, but the value can be empty.
tax_amountNumberThe tax amount for the line. The service calculates this value.
tax_exemptBooleanIndicates whether the line is exempt from tax. The possible values are true and false.
invoice_placeString256The place where the invoice was issued.
total_amountNumberThe total line amount. Required if amount or both unit_price and quantity are not provided.
ship_from_addressObjectSee Address Object Fields.
descriptionString256The description of the transaction line.
tax_liability_owner_codeString256The code that identifies the seller, marketplace, or buyer responsible for the tax liability.
discounted_amountNumberThe total amount of all discounts applied to the line.
reverse_chargeBooleanIndicates whether the reverse-charge mechanism applies. The possible values are true and false.
tax_country_codeString^[A-Z]{2}$22The two-letter ISO country code used for tax determination, such as CA for Canada.
product_tax_codeStringThe product tax code.

Did this page help you?