curl --request POST \
--url https://rest.taxes.provider.com/api/v1/tax-estimate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"lineItems": [
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
],
"estimateDateTime": "2000-01-23T04:56:07.000Z",
"currency": "currency",
"customer": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"name": "name",
"customerCode": "customerCode",
"company": "company",
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true,
"locationEvidence": {
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
},
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
}
'{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"lineItems": [
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
],
"estimateDateTime": "2000-01-23T04:56:07.000Z",
"taxableAmount": 5.962133916683182,
"total": 2.3021358869347655,
"subtotal": 0.8008281904610115,
"discountAmount": 1.4658129805029452,
"currency": "currency",
"exemptAmount": 6.027456183070403,
"taxAmount": 5.637376656633329,
"customer": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"name": "name",
"customerCode": "customerCode",
"company": "company",
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true,
"locationEvidence": {
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
},
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
}This endpoint is used to estimate taxes for a set of line items being sold by the Merchant to a Customer and is mandatory to integrate for the tax provider
curl --request POST \
--url https://rest.taxes.provider.com/api/v1/tax-estimate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"lineItems": [
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.14658129805029452,
"number": 1,
"amount": 5.962133916683182,
"quantity": 0.6027456183070403,
"itemCode": "itemCode",
"description": "description",
"discountAmount": 5.637376656633329,
"isTaxInclusive": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
],
"estimateDateTime": "2000-01-23T04:56:07.000Z",
"currency": "currency",
"customer": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"name": "name",
"customerCode": "customerCode",
"company": "company",
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true,
"locationEvidence": {
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
},
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
}
'{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"lineItems": [
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
},
{
"unitPrice": 0.3616076749251911,
"taxableAmount": 1.0246457001441578,
"amount": 2.027123023002322,
"quantity": 0.9301444243932576,
"itemCode": "itemCode",
"description": "description",
"isTaxable": true,
"discountAmount": 1.2315135367772556,
"taxes": [
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
},
{
"number": 1,
"taxableAmount": 4.965218492984954,
"rate": 11.730742509559434,
"jurisdiction": {
"code": "code",
"name": "name",
"type": null
},
"name": "GST",
"taxAmount": 5.025004791520295
}
],
"exemptAmount": 7.386281948385884,
"taxExemptType": null,
"number": 1,
"total": 6.84685269835264,
"subtotal": 4.145608029883936,
"isTaxInclusive": true,
"taxAmount": 1.4894159098541704,
"taxExemptReason": "The customer is exempt from taxes.",
"isPartialTax": true,
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
],
"estimateDateTime": "2000-01-23T04:56:07.000Z",
"taxableAmount": 5.962133916683182,
"total": 2.3021358869347655,
"subtotal": 0.8008281904610115,
"discountAmount": 1.4658129805029452,
"currency": "currency",
"exemptAmount": 6.027456183070403,
"taxAmount": 5.637376656633329,
"customer": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"name": "name",
"customerCode": "customerCode",
"company": "company",
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true,
"locationEvidence": {
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
},
"taxIdentifiers": [
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
},
{
"id": "id",
"value": "value"
}
]
}
}The json of all the parameters specified in authentication configuration of tax app will be sent by Chargebee.
Merchant's domain name will be sent by Chargebee
Unique id of the request will be sent by Chargebee
Defines the parameters of a tax estimation request. This is sent to the Tax Service Adapter by Chargebee to estimate taxes for one or more line items.
The details of the seller involved in the transaction including company code and address.
Show child attributes
Represents the address used for validation.
Show child attributes
First line of the street address
180Second line of the street address
150Third line of the street address
150The city of the address
50The state of the address following the ISO 3166-2 state/province code without the country prefix.
50Postal Code / Zip Code of the address.
20The country of the address following the ISO 3166-1 alpha-2 standard.
2{
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
}The tax registration number of a business in a country. For example, this is the GSTIN for India or the VAT number for EU or Australia.
30Determines whether a tax nexus exists between the Seller and the tax authority at the address provided.
{
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
}The details of the Customer.
Show child attributes
The unique identifier for the Customer in Chargebee.
50Represents the address used for validation.
Show child attributes
First line of the street address
180Second line of the street address
150Third line of the street address
150The city of the address
50The state of the address following the ISO 3166-2 state/province code without the country prefix.
50Postal Code / Zip Code of the address.
20The country of the address following the ISO 3166-1 alpha-2 standard.
2{
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
}The name of the Customer in Chargebee.
50The company name of the customer
50The tax registration number of a business in a country. For example, this is the GSTIN for India or the VAT number for EU or Australia.
30It represents the information related to the customer's tax identifiers. This includes details such as exemption status etc.
10Determines whether a tax nexus exists between the Seller and the tax authority at the address provided.
Represent the properties for customer location evidence.
Show child attributes
The customer's IP to determine which country the customer belongs to.
50The country associated with a card by using the first or last 6 digits of the Bank Identification Number.
15Identifies the country code associated with the payment method.
5{
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
}{
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"name": "name",
"customerCode": "customerCode",
"company": "company",
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true,
"locationEvidence": {
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
},
"taxIdentifiers": [
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" }
]
}The time as of which the tax estimation is to be calculated. This can be a value in the past. For example, if the value is provided as 2022-10-28T15:36:28.129+05:30, then the tax rates applicable on October 28, 2022, at 15:36:28.129, with an offset of +05:30 ahead of UTC/GMT are used for calculations. In case of a merchant site located in UTC, these data types would send a timestamp in the format 2022-11-11T15:40:44.65Z. This timestamp represents November 11, 2022, at 15:40:44.65, with the 'Z' indicating that the time is in UTC
The currency in the ISO-4217 format.
3Contains the details of each line item in the tax estimation request.
1 - 1250 elementsShow child attributes
Index or serial number of the line item.
x >= 1The amount for this line item. This is unitPrice × quantity.
Indicates whether (amount - discountAmount) is inclusive of taxes.
The unique identifier (in Chargebee) of the product corresponding to the line item. If the line item corresponds to a one-off charge, then this identifier is not provided. If entity_type is adhoc, the itemCode parameter will be set to adhoc_charge.
50The description of the line item.
250The quantity associated with this line item.
x >= 0The unit price for this line item. In case of tiered pricing where the unit price varies for each quantity tier, this is the average unit price.
x >= 0The discount applied to this line item.
Tax estimated successfully for given line items.
The response sent by the Tax Service Adapter to Chargebee for a tax estimation request.
The details of the seller involved in the transaction including company code and address.
Show child attributes
Represents the address used for validation.
Show child attributes
First line of the street address
180Second line of the street address
150Third line of the street address
150The city of the address
50The state of the address following the ISO 3166-2 state/province code without the country prefix.
50Postal Code / Zip Code of the address.
20The country of the address following the ISO 3166-1 alpha-2 standard.
2{
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
}The tax registration number of a business in a country. For example, this is the GSTIN for India or the VAT number for EU or Australia.
30Determines whether a tax nexus exists between the Seller and the tax authority at the address provided.
{
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
}The details of the Customer.
Show child attributes
The unique identifier for the Customer in Chargebee.
50Represents the address used for validation.
Show child attributes
First line of the street address
180Second line of the street address
150Third line of the street address
150The city of the address
50The state of the address following the ISO 3166-2 state/province code without the country prefix.
50Postal Code / Zip Code of the address.
20The country of the address following the ISO 3166-1 alpha-2 standard.
2{
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
}The name of the Customer in Chargebee.
50The company name of the customer
50The tax registration number of a business in a country. For example, this is the GSTIN for India or the VAT number for EU or Australia.
30It represents the information related to the customer's tax identifiers. This includes details such as exemption status etc.
10Determines whether a tax nexus exists between the Seller and the tax authority at the address provided.
Represent the properties for customer location evidence.
Show child attributes
The customer's IP to determine which country the customer belongs to.
50The country associated with a card by using the first or last 6 digits of the Bank Identification Number.
15Identifies the country code associated with the payment method.
5{
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
}{
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"name": "name",
"customerCode": "customerCode",
"company": "company",
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true,
"locationEvidence": {
"paymentCountryCode": "paymentCountryCode",
"bin": "bin",
"ip": "ip"
},
"taxIdentifiers": [
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" },
{ "id": "id", "value": "value" }
]
}The time as of which the tax estimation is to be calculated. This can be a value in the past. For example, if the value is provided as 2022-10-28T15:36:28.129+05:30, then the tax rates applicable on October 28, 2022, at 15:36:28.129, with an offset of +05:30 ahead of UTC/GMT are used for calculations. In case of a merchant site located in UTC, these data types would send a timestamp in the format 2022-11-11T15:40:44.65Z. This timestamp represents November 11, 2022, at 15:40:44.65, with the 'Z' indicating that the time is in UTC
The currency in the ISO-4217 format.
3The amount after discounts. This is the sum of all lineItems.subtotal.
The part of the subtotal that is exempted from tax.
The total discount applied. This is the sum of all lineItems.discount.
The part of the subtotal that is taxable.
The total tax payable. This is the sum of all lineItems.taxAmount.
The total after discounts and taxes. This is the same as subtotal if it is tax inclusive; otherwise it is subtotal + taxAmount. total can also be expressed as exemptAmount + taxableAmount + taxAmount.
List of line item details for the tax estimation response.
1 - 1250 elementsShow child attributes
Index or serial number of the line item.
x >= 1The amount for this line item. This is unitPrice × quantity.
The amount after discounts for this line item. This is amount - discountAmount.
Indicates whether the subtotal for this line item is inclusive of taxes.
Indicates whether this line item is taxable.
The part of this line item's subtotal that is exempted from tax.
The discount applied to this line item.
The part of this line item's subtotal that is taxable.
The tax payable for this line item. This is the sum of all taxes.taxAmount for this line item.
The total for this line item after discounts and taxes. This is the same as subtotal if it is tax inclusive; otherwise it is subtotal + taxAmount. total can also be expressed as exemptAmount + taxableAmount + taxAmount.
List of taxes applied for this line item under each jurisdiction.
10Show child attributes
Index or serial number of this tax line item.
x >= 1The tax jurisdiction details.
Show child attributes
The jurisdiction code.
50The type of tax jurisdiction.
COUNTRY, FEDERAL, STATE, COUNTY, CITY, SPECIAL, OTHER The jurisdiction name.
50{
"code": "code",
"name": "name",
"type": null
}The name of the tax applied.
"GST"
The tax rate expressed in percentage.
x <= 100The part of the line item's subtotal that is taxable under this jurisdiction.
The tax payable for the line item under this jurisdiction.
The unique identifier (in Chargebee) of the product corresponding to the line item. If the line item corresponds to a one-off charge, then this identifier is not present. If entity_type is adhoc, the itemCode parameter will be set to adhoc_charge.
50The description of the line item.
250The quantity associated with this line item.
x >= 0The unit price for this line item. In case of tiered pricing where the unit price varies for each quantity tier, this is the average unit price.
x >= 0The tax exemption type for a line item. This is a mandatory parameter while applying tax exemption on any line-item.
PRODUCT_EXEMPT, CUSTOMER_EXEMPT, REGION_EXEMPT, REVERSE_CHARGE, ZERO_RATE_TAX, HIGH_VALUE_PHYSICAL_GOODS, EXPORT, ZERO_VALUE_ITEM, TAX_NOT_CONFIGURED The reason due to which a line item is exempted from tax. This is a mandatory parameter while applying tax exemption on any line-item.
250"The customer is exempt from taxes."
Indicates if taxes were applied only partially for this line item.