Files
enterprise-addons/pos_avatax/tests/mocked_responses/response.json
T

334 lines
9.2 KiB
JSON

{
"addresses": [
{
"boundaryLevel": "Address",
"city": "San Francisco",
"country": "US",
"id": 0,
"latitude": "37.71116",
"line1": "250 Executive Park Blvd",
"line2": "",
"line3": "",
"longitude": "-122.391717",
"postalCode": "94134-3394",
"region": "CA",
"taxRegionId": 4016940,
"taxRegionIdAv": 0,
"transactionId": 0
}
],
"adjustmentReason": "NotAdjusted",
"batchCode": "",
"code": "PoS Order 59",
"companyId": "___ignore___",
"currencyCode": "USD",
"customerCode": "false",
"customerUsageType": "",
"customerVendorCode": "false",
"date": "2025-03-17",
"entityUseCode": "",
"exchangeRate": 1.0,
"exchangeRateCurrencyCode": "USD",
"exchangeRateEffectiveDate": "2025-03-17",
"exemptNo": "",
"id": 0,
"lines": [
{
"costInsuranceFreight": 0.0,
"customerUsageType": "",
"description": "Wall Shelf Unit",
"details": [
{
"chargedTo": "Buyer",
"country": "US",
"exemptAmount": 0.0,
"exemptUnits": 0.0,
"id": 0,
"isFee": false,
"isNonPassThru": false,
"jurisCode": "06",
"jurisName": "CALIFORNIA",
"jurisType": "STA",
"jurisdictionId": 5000531,
"jurisdictionType": "State",
"liabilityType": "Seller",
"nonTaxableAmount": 0.0,
"nonTaxableUnits": 0.0,
"rate": 0.06,
"rateType": "General",
"rateTypeCode": "G",
"region": "CA",
"reportingExemptUnits": 0.0,
"reportingNonTaxableUnits": 0.0,
"reportingTax": 0.36,
"reportingTaxCalculated": 0.36,
"reportingTaxableUnits": 5.94,
"sourcing": "Origin",
"stateAssignedNo": "",
"stateFIPS": "06",
"tax": 0.36,
"taxAuthorityTypeId": 45,
"taxCalculated": 0.36,
"taxName": "CA STATE TAX",
"taxSubTypeId": "S",
"taxType": "Sales",
"taxableAmount": 5.94,
"taxableUnits": 5.94,
"transactionId": 0,
"transactionLineId": 0,
"unitOfBasis": "PerCurrencyUnit"
},
{
"chargedTo": "Buyer",
"country": "US",
"exemptAmount": 0.0,
"exemptUnits": 0.0,
"id": 0,
"isFee": false,
"isNonPassThru": false,
"jurisCode": "075",
"jurisName": "SAN FRANCISCO",
"jurisType": "CTY",
"jurisdictionId": 275,
"jurisdictionType": "County",
"liabilityType": "Seller",
"nonTaxableAmount": 0.0,
"nonTaxableUnits": 0.0,
"rate": 0.0025,
"rateType": "General",
"rateTypeCode": "G",
"region": "CA",
"reportingExemptUnits": 0.0,
"reportingNonTaxableUnits": 0.0,
"reportingTax": 0.01,
"reportingTaxCalculated": 0.01,
"reportingTaxableUnits": 5.94,
"sourcing": "Origin",
"stateAssignedNo": "",
"stateFIPS": "06",
"tax": 0.01,
"taxAuthorityTypeId": 45,
"taxCalculated": 0.01,
"taxName": "CA COUNTY TAX",
"taxSubTypeId": "S",
"taxType": "Sales",
"taxableAmount": 5.94,
"taxableUnits": 5.94,
"transactionId": 0,
"transactionLineId": 0,
"unitOfBasis": "PerCurrencyUnit"
},
{
"chargedTo": "Buyer",
"country": "US",
"exemptAmount": 0.0,
"exemptUnits": 0.0,
"id": 0,
"isFee": false,
"isNonPassThru": false,
"jurisCode": "EMBE0",
"jurisName": "SAN FRANCISCO COUNTY DISTRICT TAX SP",
"jurisType": "STJ",
"jurisdictionId": 2001061430,
"jurisdictionType": "Special",
"liabilityType": "Seller",
"nonTaxableAmount": 0.0,
"nonTaxableUnits": 0.0,
"rate": 0.01375,
"rateType": "General",
"rateTypeCode": "G",
"region": "CA",
"reportingExemptUnits": 0.0,
"reportingNonTaxableUnits": 0.0,
"reportingTax": 0.08,
"reportingTaxCalculated": 0.08,
"reportingTaxableUnits": 5.94,
"sourcing": "Destination",
"stateAssignedNo": "940",
"stateFIPS": "06",
"tax": 0.08,
"taxAuthorityTypeId": 45,
"taxCalculated": 0.08,
"taxName": "CA SPECIAL TAX",
"taxSubTypeId": "S",
"taxType": "Sales",
"taxableAmount": 5.94,
"taxableUnits": 5.94,
"transactionId": 0,
"transactionLineId": 0,
"unitOfBasis": "PerCurrencyUnit"
},
{
"chargedTo": "Buyer",
"country": "US",
"exemptAmount": 0.0,
"exemptUnits": 0.0,
"id": 0,
"isFee": false,
"isNonPassThru": false,
"jurisCode": "EMTV0",
"jurisName": "SAN FRANCISCO CO LOCAL TAX SL",
"jurisType": "STJ",
"jurisdictionId": 2001061792,
"jurisdictionType": "Special",
"liabilityType": "Seller",
"nonTaxableAmount": 0.0,
"nonTaxableUnits": 0.0,
"rate": 0.01,
"rateType": "General",
"rateTypeCode": "G",
"region": "CA",
"reportingExemptUnits": 0.0,
"reportingNonTaxableUnits": 0.0,
"reportingTax": 0.06,
"reportingTaxCalculated": 0.06,
"reportingTaxableUnits": 5.94,
"sourcing": "Origin",
"stateAssignedNo": "38",
"stateFIPS": "06",
"tax": 0.06,
"taxAuthorityTypeId": 45,
"taxCalculated": 0.06,
"taxName": "CA SPECIAL TAX",
"taxSubTypeId": "S",
"taxType": "Sales",
"taxableAmount": 5.94,
"taxableUnits": 5.94,
"transactionId": 0,
"transactionLineId": 0,
"unitOfBasis": "PerCurrencyUnit"
}
],
"discountAmount": 0.0,
"entityUseCode": "",
"exemptAmount": 0.0,
"exemptCertId": 0,
"exemptNo": "",
"hsCode": "",
"id": 0,
"isItemTaxable": true,
"itemCode": "UPC:2100005000000",
"lineAmount": 5.94,
"lineNumber": "___ignore___",
"nonPassthroughDetails": [],
"quantity": 3.0,
"ref1": "",
"ref2": "",
"reportingDate": "2025-03-17",
"revAccount": "",
"sourcing": "Mixed",
"tax": 0.51,
"taxCalculated": 0.51,
"taxCode": "D0000000",
"taxCodeId": 8570,
"taxDate": "2025-03-17",
"taxIncluded": false,
"taxableAmount": 5.94,
"transactionId": 0,
"vatCode": "",
"vatNumberTypeId": 0
}
],
"locationCode": "",
"locked": false,
"modifiedDate": "2025-03-17T23:04:07.8847673Z",
"modifiedUserId": 1452151,
"paymentDate": "2025-03-17",
"purchaseOrderNo": "",
"reconciled": false,
"referenceCode": "/",
"reportingLocationCode": "",
"salespersonCode": "",
"status": "Temporary",
"summary": [
{
"country": "US",
"exemption": 0.0,
"jurisCode": "06",
"jurisName": "CALIFORNIA",
"jurisType": "State",
"nonTaxable": 0.0,
"rate": 0.06,
"rateType": "General",
"region": "CA",
"stateAssignedNo": "",
"tax": 0.36,
"taxAuthorityType": 45,
"taxCalculated": 0.36,
"taxName": "CA STATE TAX",
"taxSubType": "S",
"taxType": "Sales",
"taxable": 5.94
},
{
"country": "US",
"exemption": 0.0,
"jurisCode": "075",
"jurisName": "SAN FRANCISCO",
"jurisType": "County",
"nonTaxable": 0.0,
"rate": 0.0025,
"rateType": "General",
"region": "CA",
"stateAssignedNo": "",
"tax": 0.01,
"taxAuthorityType": 45,
"taxCalculated": 0.01,
"taxName": "CA COUNTY TAX",
"taxSubType": "S",
"taxType": "Sales",
"taxable": 5.94
},
{
"country": "US",
"exemption": 0.0,
"jurisCode": "EMTV0",
"jurisName": "SAN FRANCISCO CO LOCAL TAX SL",
"jurisType": "Special",
"nonTaxable": 0.0,
"rate": 0.01,
"rateType": "General",
"region": "CA",
"stateAssignedNo": "38",
"tax": 0.06,
"taxAuthorityType": 45,
"taxCalculated": 0.06,
"taxName": "CA SPECIAL TAX",
"taxSubType": "S",
"taxType": "Sales",
"taxable": 5.94
},
{
"country": "US",
"exemption": 0.0,
"jurisCode": "EMBE0",
"jurisName": "SAN FRANCISCO COUNTY DISTRICT TAX SP",
"jurisType": "Special",
"nonTaxable": 0.0,
"rate": 0.01375,
"rateType": "General",
"region": "CA",
"stateAssignedNo": "940",
"tax": 0.08,
"taxAuthorityType": 45,
"taxCalculated": 0.08,
"taxName": "CA SPECIAL TAX",
"taxSubType": "S",
"taxType": "Sales",
"taxable": 5.94
}
],
"taxDate": "2025-03-17",
"taxOverrideAmount": 0.0,
"taxOverrideReason": "Manually changed the tax calculation date",
"taxOverrideType": "TaxDate",
"totalAmount": 5.94,
"totalDiscount": 0.0,
"totalExempt": 0.0,
"totalTax": 0.51,
"totalTaxCalculated": 0.51,
"totalTaxable": 5.94,
"type": "SalesOrder",
"version": 1
}