curl --request GET \
--url https://rest.taxes.provider.com/api/v1/invoices/{invoiceId} \
--header 'Authorization: <api-key>'{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"taxableAmount": 5.962133916683182,
"discountAmount": 1.4658129805029452,
"exemptAmount": 6.027456183070403,
"invoiceCode": "invoiceCode",
"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"
}
]
}
],
"total": 2.3021358869347655,
"subtotal": 0.8008281904610115,
"taxDateTime": "2000-01-23T04:56:07.000Z",
"invoiceId": "invoiceId",
"currency": "currency",
"taxAmount": 5.637376656633329,
"documentDateTime": "2000-01-23T04:56:07.000Z",
"status": null,
"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 retrieve an invoice for a given invoice id.
curl --request GET \
--url https://rest.taxes.provider.com/api/v1/invoices/{invoiceId} \
--header 'Authorization: <api-key>'{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"taxableAmount": 5.962133916683182,
"discountAmount": 1.4658129805029452,
"exemptAmount": 6.027456183070403,
"invoiceCode": "invoiceCode",
"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"
}
]
}
],
"total": 2.3021358869347655,
"subtotal": 0.8008281904610115,
"taxDateTime": "2000-01-23T04:56:07.000Z",
"invoiceId": "invoiceId",
"currency": "currency",
"taxAmount": 5.637376656633329,
"documentDateTime": "2000-01-23T04:56:07.000Z",
"status": null,
"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
The unique identifier of the invoice at the Tax Service Adapter or Tax Service Provider.
Invoice retrieved successfully.
The details of an invoice as returned by the Tax Service Adapter.
The unique identifier of the invoice in the Tax Service Adapter or the Tax Service Provider.
The unique identifier of the invoice in Chargebee.
50The date and time at which the invoice was generated in Chargebee. For example, if the value is 2022-10-28T15:36:28.129+05:30, then the timestamp represents October 28, 2022, at 15:36:28.129, with an offset of +05:30. This means that the time represented is 5 hours and 30 minutes ahead of UTC/GMT.In the 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.
Status of the invoice document.
PENDING, COMMITTED, VOIDED The currency in the ISO-4217 format.
3The 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 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.
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.
The date and time at which the tax was applicable in Chargebee. For example, if the value is 2022-10-28T15:36:28.129+05:30, then the timestamp represents October 28, 2022, at 15:36:28.129, with an offset of +05:30. This means that the time represented is 5 hours and 30 minutes ahead of UTC/GMT.In the 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.