# Create a customs invoice for core requirements

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

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

# Create a customs invoice for core requirements

Create a customs invoice to record actual import costs and apply tax type overrides.

After the product has shipped, you can create a customs invoice to record the actual import costs associated with the shipped parcel. Be sure to provide the actual tax amounts from your shipper's receipt using tax type overrides at the line level. This example includes the following tax type overrides:

-   LandedCost with an amount of $50.
-   Output with an amount of $50. (Use`I` to specify Output tax in the tax override.)

**Example request**

Create a customs invoice with a tax override for each tax type.

```
{
  "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",
      "taxOverride": {
"type": "TaxAmountByTaxType",
"reason": "Capture shipping receipt details",
"taxAmountByTaxTypes": [
  {
    "taxTypeId": "LandedCost",
     "taxAmount": 50
  },
  {
    "taxTypeId": "I",
     "taxAmount": 50
  }
]
      }
    }
  ],
  "type": "CustomsInvoice",
  "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",
  "commit": true
}
```