The Importance of Shipping Address
Why is the Shipping Address Critical for Sales Tax Calculation?
The Role of Matched Address Data in Tax Calculation
matchedAddressData
is a crucial component in determining accurate sales tax calculations. It represents the validated and standardized version of the request address, ensuring consistency and compliance with tax jurisdiction rules.Why Is Matched Address Data Important?
1.
2.
3.
4.
matchedAddressData
includes a scoring system to indicate how closely the provided address matches validated data.cityMatch
, stateMatch
, zipMatch
, and countryMatch
help determine the level of accuracy.Connection Between Shipping Address and Tax Determination
1.
2.
3.
4.
How Complyt’s API Integrates Shipping Address for Accurate Sales Tax Calculation
Example API Payload and Integration
{
"externalId": "{{transactionExternalId}}",
"source": "9",
"items": [
{
"unitPrice": 100,
"quantity": 1,
"totalPrice": 100,
"description": "string",
"name": "string",
"taxCode": "C1S1",
"manualSalesTax": false,
"manualSalesTaxRate": 0
}
],
"billingAddress": {
"city": "",
"country": "US",
"county": null,
"state": "CA",
"street": "3098 N Remington Ave",
"zip": "93711-5508",
"region": "string",
"isPartial": false
},
"shippingAddress": {
"city": "fresno",
"country": "US",
"state": "CA",
"street": "3098 N Remington Ave",
"zip": "93711-5508",
"isPartial": false,
"matchedAddressData": {
"address": {
"city": "fresno",
"country": "United States",
"county": "Travis",
"state": "California",
"zip": "73301-2013"
},
"scoring": {
"matchLevel": "EXCELLENT",
"score": 1.0,
"fieldScore": {
"countryMatch": "EXACT",
"stateMatch": "EXACT",
"cityMatch": "NO_MATCH",
"zipMatch": "EXACT"
}
}
}
},
},
"customerId": "{{customerComplytId}}",
"externalTimestamps": {
"createdDate": "2023-02-05T12:24:43.193Z",
"updatedDate": "2023-02-05T12:24:43.193Z"
},
"transactionStatus": "ACTIVE",
"transactionType": "INVOICE",
"createdFrom": "string",
"transactionFilingStatus": "NOT_FILED",
"currency": "USD"
}
Modified at 2025-02-12 15:39:19