# Ship the items for advanced features

Source: https://developer.avalara.com/products/crossborder/integration-guides/avatax-for-cdit/gpy9377489888800/

Guide: AvaTax Cross-Border (Customs Duty and Import Tax)

# Ship the items for advanced features

Learn how to commit a transaction when shipping items and retrieve tax details for customs documentation.

When you are ready to ship the items, rerun the transaction again, this time setting commit to `true`.

As with the previous transaction requests, the response provides details about the tax that was calculated for each tax type. You will need this information when you create the customs document.

**Example request**

Commit the invoice.

```
{
    "lines": [
      {
"number": "1",
"quantity": 1,
"amount": 950,
"itemCode": "SKU 1000.6",
"taxCode": "P00000000",
"description": "Cuban Links",
"hsCode": "6204420090", // Send customs grade HS Codes by Country and pass to AvaTax
"category" : "Man > Jewelry ; Gold > Bracelet", // Optionally send category; assuming only partial HS Code provided to get estimated duty
  "taxIncluded": false,
  "parameters": [
  {
    "name": "NetWeight", // If applicable, API will raise an data validation exception if a parameter is missing
    "value": "5",
    "unit": "Pound"
  },
  {
    "name": "IsPreferredProgram",
    "value": true
  },
  {
    "name": "CountryOfManufacture",
    "value": "US"
  }
]
      }
// Send Freight and Insurance as separate lines where applicable with appropriate Avalara goods and Service Code
     ],
    "type": "SalesOrder",
    "companyCode": "DEFAULT",
    "date": "11-21-2021",
    "customerCode": "test-customer",
    "addresses": {
      "shipFrom": {
"line1": "",
"city": "",
"region": "WA",
"country": "US",
"postalCode": "98110"
      },
      "shipTo": {
"line1": "",
"city": "",
"region": "",
"country": "DE",
"postalCode": ""
      }
    },
    "isSellerImporterOfRecord": "true",
    "deliveryTerms": "DDP",
    "currencyCode": "USD",
    "commit": true
}
```