# Messaging

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

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

# Messaging

Understand the messaging requirements for your integration, including de minimis and sourcing rules.

**Element type: Required**

**Endpoints used:** N/A

Your integration must include appropriate messages in the response regarding de minimus, sourcing rules, and so on Your environment handles this, not an AvaTax API.

**Example**

```
...
    {
      "summary": "SourcingRules applied for the transaction, XML format",
      "details": "&lt;?xml version=\"1.0\" encoding=\"utf-16\"?&gt;&lt;ArrayOfSourcingRuleApplied xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"&gt;&lt;SourcingRuleApplied&gt;&lt;LineNo&gt;1&lt;/LineNo&gt;&lt;SourcingRuleId_Sourcing&gt;1854&lt;/SourcingRuleId_Sourcing&gt;&lt;Sourcing&gt;D&lt;/Sourcing&gt;&lt;SourcingRuleId_RateType&gt;1855&lt;/SourcingRuleId_RateType&gt;&lt;RateType&gt;S&lt;/RateType&gt;&lt;SourcingRuleId_JurisTypesApplicableId&gt;0&lt;/SourcingRuleId_JurisTypesApplicableId&gt;&lt;JurisTypesApplicableId&gt;31&lt;/JurisTypesApplicableId&gt;&lt;/SourcingRuleApplied&gt;&lt;/ArrayOfSourcingRuleApplied&gt;",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    },
    {
      "summary": "SourcingRules applied for the transaction, JSON format",
      "details": "[{\"LineNo\":\"1\",\"SourcingRuleId_Sourcing\":1854,\"Sourcing\":\"D\",\"SourcingRuleId_RateType\":1855,\"RateType\":\"S\",\"SourcingRuleId_JurisTypesApplicableId\":0,\"JurisTypesApplicableId\":31}]",
      "refersTo": "",
      "severity": "Success",
      "source": "Avalara.AvaTax.TaxEngine"
    }
...
```