Line Item Input

Input representation of the details of the line item for tax calculation.
JSON example
{
  "lineItems": [
    {
      "quantity": 1,
      "amount": 100,
      "taxCode": "TX0001",
      "productCode": "Y0001",
      "description": "New Product",
      "effectiveDate": "2022-03-09T10:30:41.000Z",
      "lineNumber": "5TVxx0000004C92GAE",
      "addresses": {
        "shipFrom": {
          "street": "123 Alaskan Way",
          "city": "Seattle",
          "state": "WA",
          "country": "US",
          "postalCode": "98101",
          "latitude": 45.12,
          "longitude": 45.12
        },
        "shipTo": {
          "street": "123 Auburn Blvd",
          "city": "Sacramento",
          "state": "CA",
          "country": "US",
          "postalCode": "95841",
          "latitude": 45.12,
          "longitude": 45.12
        },
        "soldTo": {
          "street": "123 Auburn Blvd",
          "city": "Sacramento",
          "state": "CA",
          "country": "US",
          "postalCode": "95841",
          "latitude": 45.12,
          "longitude": 45.12
        },
        "billTo": {
          "street": "123 Auburn Blvd",
          "city": "Sacramento",
          "state": "CA",
          "country": "US",
          "postalCode": "95841",
          "latitude": 45.12,
          "longitude": 45.12
        }
      }
    }
  ]
}
Properties
Name Type Description Required or Optional Available Version
addresses Addresses Input Address types that specify different locations associated with the transaction of the line item. Optional 62.0
amount Double Total amount for the line item. Required 62.0
description String Description of the line item. Optional 62.0
effectiveDate String Date that tax rules are applicable from. This property value overrides the global effective date. Optional 62.0
lineNumber String Unique identifier for the line item. Required 62.0
productCode String Product code of the line item according to the tax treatment rules of the tax engine. Optional 62.0
quantity Double Quantity of the line item. Required 62.0
taxCode String Tax code of the line item according to the tax treatment rules of the tax engine. Optional 62.0