{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"externalId": "string",
"source": "string",
"documentName": "string",
"items": [
{
"unitPrice": 0,
"quantity": 0,
"totalPrice": 0,
"calculatedTotal": 0,
"description": "string",
"name": "string",
"taxCode": "string",
"jurisdictionalSalesTaxRules": {
"name": "string",
"abbreviation": "string",
"taxable": true,
"specialTreatment": true,
"calculationType": "FIXED",
"description": "string",
"calculationValue": 0,
"cities": {
"property1": {
"name": "string",
"abbreviation": "string",
"taxable": true,
"specialTreatment": true,
"calculationType": "FIXED",
"description": "string",
"calculationValue": 0
},
"property2": {
"name": "string",
"abbreviation": "string",
"taxable": true,
"specialTreatment": true,
"calculationType": "FIXED",
"description": "string",
"calculationValue": 0
}
},
"regions": {
"property1": {
"name": "string",
"abbreviation": "string",
"taxable": true,
"specialTreatment": true,
"calculationType": "FIXED",
"description": "string",
"calculationValue": 0
},
"property2": {
"name": "string",
"abbreviation": "string",
"taxable": true,
"specialTreatment": true,
"calculationType": "FIXED",
"description": "string",
"calculationValue": 0
}
}
},
"salesTaxRates": {
"cityRate": 0,
"countyRate": 0,
"stateRate": 0,
"taxRate": 0,
"combinedDistrictRate": 0,
"ratesMetaData": {
"cityDistrictRate": 0,
"countyDistrictRate": 0
}
},
"gtRates": {
"countryRate": 0,
"regionRate": 0,
"taxRate": 0
},
"manualSalesTax": true,
"manualSalesTaxRate": 0.2,
"discount": 0,
"relativeTransactionDiscount": 0,
"tangibleCategory": "TANGIBLE",
"taxableCategory": "TAXABLE"
}
],
"isTaxInclusive": true,
"billingAddress": {
"city": "string",
"country": "string",
"county": "string",
"state": "string",
"street": "string",
"region": "string",
"zip": "string"
},
"shippingAddress": {
"city": "string",
"country": "string",
"county": "string",
"state": "string",
"street": "string",
"region": "string",
"zip": "string",
"isPartial": true,
"matchedAddressData": {
"address": {
"city": "string",
"country": "string",
"county": "string",
"state": "string",
"zip": "string"
},
"scoring": {
"matchLevel": "string",
"score": 0,
"fieldScore": {
"countryMatch": "string",
"stateMatch": "string",
"cityMatch": "string",
"zipMatch": "string"
}
}
}
},
"customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
"customer": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"externalId": "string",
"source": "string",
"name": "string",
"address": {
"city": "string",
"country": "string",
"county": "string",
"state": "string",
"street": "string",
"region": "string",
"zip": "string"
},
"email": "string",
"customerType": "RETAIL",
"internalTimestamps": {
"createdDate": "string",
"updatedDate": "string"
},
"externalTimestamps": {
"createdDate": "string",
"updatedDate": "string"
},
"comment": "string",
"taxNumber": "string"
},
"salesTax": {
"amount": 0,
"rate": 0,
"salesTaxRates": {
"cityRate": 0,
"countyRate": 0,
"stateRate": 0,
"taxRate": 0,
"combinedDistrictRate": 0,
"ratesMetaData": {
"cityDistrictRate": 0,
"countyDistrictRate": 0
}
},
"gtRates": {
"countryRate": 0,
"regionRate": 0,
"taxRate": 0
}
},
"transactionStatus": "ACTIVE",
"internalTimestamps": {
"createdDate": "string",
"updatedDate": "string"
},
"externalTimestamps": {
"createdDate": "string",
"updatedDate": "string"
},
"transactionType": "SALES_ORDER",
"shippingFee": {
"manualSalesTax": true,
"manualSalesTaxRate": 0,
"totalPrice": 0,
"taxCode": "string",
"salesTaxRates": {
"cityRate": 0,
"countyRate": 0,
"stateRate": 0,
"taxRate": 0,
"combinedDistrictRate": 0,
"ratesMetaData": {
"cityDistrictRate": 0,
"countyDistrictRate": 0
}
},
"gtRates": {
"countryRate": 0,
"regionRate": 0,
"taxRate": 0
}
},
"createdFrom": "string",
"taxableItemsAmount": 0,
"tangibleItemsAmount": 0,
"totalItemsAmount": 0,
"totalDiscount": 0,
"transactionLevelDiscount": 0,
"finalTransactionAmount": 0,
"transactionFilingStatus": "NOT_FILED",
"currency": "string",
"subsidiary": "string"
}