# Ship the items for core requirements

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

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

# Ship the items for core requirements

Learn how to update and commit a transaction with an HS code for shipping items.

After you retrieve the HS code, run the original transaction again with the following updates:

-   Include the HS code. In this example, the HS code is `6204420090`.
-   Set 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. Be sure to include the HS code in the request.

```
{
  "lines": [
    {
      "number": "1",
      "quantity": 1,
      "amount": 950,
      "itemCode": "SKU 1000.6",
      "taxCode": "P00000000",
      "description": "Cuban Links",
      "category": "Man > Jewelry ; Gold > Bracelet",
      "taxIncluded" : false,
      "hsCode": "6204420090"
    }
    // Send Freight and Insurance as separate lines where applicable with appropriate Avalara goods and service code
  ],
  "type": "SalesInvoice",
  "code":  "Bracelets",
  "referenceCode" : "Bracelets",
  "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": ""
    }
  },
  "deliveryTerms": "DDP",
  "currencyCode": "USD",
  "isSellerImporterOfRecord" : false,
  "commit" : true
}
```