API Reference
- Partner SPI
- Tax SPI
- Overview
- Authorization
- Address
- TaxEstimate
- Invoice
- CreditNote
- Authentication
- Health
- Testing with Postman
- Tax Registration Number Validation SPI
- Troubleshooting
Retrieve credit note
This endpoint is used to retrieve a specific credit note using the unique credit note id.
curl --request GET \
--url https://rest.taxes.provider.com/api/v1/credit-notes/{creditNoteId} \
--header 'Authorization: Bearer <token>'
{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"creditNoteType": null,
"taxableAmount": 5.962133916683182,
"roundingAmount": 7.061401241503109,
"creditNoteCode": "creditNoteCode",
"discountAmount": 0.8008281904610115,
"exemptAmount": 1.4658129805029452,
"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": 6.027456183070403,
"taxDateTime": "2000-01-23T04:56:07.000Z",
"invoiceId": "invoiceId",
"currency": "currency",
"creditNoteId": "creditNoteId",
"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",
"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"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The unique identifier of the credit note at the Tax Service Adapter or Tax Service Provider.
Query Parameters
The unique identifier of the invoice at the Tax Service Adapter or Tax Service Provider.
Response
The details of a credit note returned by the Tax Service Adapter. A credit note is used to reduce the amount due on an invoice. If the credit note is issued after payments have been made for the invoice, refunds can be issued to the Customer.
The unique identifier of the credit note at the Tax Service Provider or Tax Service Adapter.
The unique identifier of the credit note in Chargebee.
50
Whether the credit note was created for the full amount on the invoice or only for a part of the invoice amount.
FULL
, PARTIAL
The date and time at which the credit note was created 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.
3
The details of the seller involved in the transaction including company code and address.
Represents the address used for validation.
First line of the street address
180
Second line of the street address
150
Third line of the street address
150
The city of the address
50
The state of the address following the ISO 3166-2 state/province code without the country prefix.
50
Postal Code / Zip Code of the address.
20
The 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.
30
Determines 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.
The unique identifier for the Customer in Chargebee.
50
Represents the address used for validation.
First line of the street address
180
Second line of the street address
150
Third line of the street address
150
The city of the address
50
The state of the address following the ISO 3166-2 state/province code without the country prefix.
50
Postal Code / Zip Code of the address.
20
The 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.
50
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.
30
Determines whether a tax nexus exists between the Seller and the tax authority at the address provided.
Represent the properties for customer location evidence.
The customer's IP to determine which country the customer belongs to.
50
The country associated with a card by using the first or last 6 digits of the Bank Identification Number.
15
Identifies 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",
"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 total discount applied. This is the sum of all lineItems.discount
.
The amount exempted from tax.
The amount upon which the tax is calculated.
The total tax payable. This is the sum of all lineItems.taxAmount
.
The total amount of the credit note. total
can be expressed as exemptAmount
+ taxableAmount
+ taxAmount
.
The details of a line item.
Index or serial number of the line item.
x >= 1
The 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.
The details of tax applied under a specific jurisdiction.
Index or serial number of this tax line item.
x >= 1
The tax jurisdiction details.
The jurisdiction code.
50
The 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 <= 100
The 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
.
50
The description of the line item.
250
The quantity associated with this line item.
x >= 0
The 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 >= 0
The 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 unique identifier of the invoice in Chargebee to which this credit note belongs.
50
The unique identifier of the invoice in the Tax Service Adapter or the Tax Service Provider.
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.
The amount after discounts. This is the sum of all lineItems.subtotal
.
The rounding amount added to the total amount to account for fractional correction.
curl --request GET \
--url https://rest.taxes.provider.com/api/v1/credit-notes/{creditNoteId} \
--header 'Authorization: Bearer <token>'
{
"seller": {
"address": {
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
},
"taxRegistrationNumber": "taxRegistrationNumber",
"hasNexus": true
},
"creditNoteType": null,
"taxableAmount": 5.962133916683182,
"roundingAmount": 7.061401241503109,
"creditNoteCode": "creditNoteCode",
"discountAmount": 0.8008281904610115,
"exemptAmount": 1.4658129805029452,
"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": 6.027456183070403,
"taxDateTime": "2000-01-23T04:56:07.000Z",
"invoiceId": "invoiceId",
"currency": "currency",
"creditNoteId": "creditNoteId",
"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",
"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"
}
]
}
}