curl --location 'https://stg-gateway.invora.app/api/billing/v2/invoices/fetch-draft-taxes' \
--header 'Content-Type: application/json' \
--data '{
"currency": "CURRENCY_ENUM_UNSPECIFIED",
"customerId": "string",
"fees": [
{
"addOnId": "string",
"description": "string",
"fromDatetime": "2019-08-24T14:15:22.123Z",
"invoiceDisplayName": "string",
"name": "string",
"taxCodes": [
"string"
],
"toDatetime": "2019-08-24T14:15:22.123Z",
"unitAmountCents": "string",
"units": {
"units": "string",
"nanos": 0
}
}
],
"invoiceCustomSection": {
"invoiceCustomSectionIds": [
"string"
],
"skipInvoiceCustomSections": true
},
"paymentMethod": {
"paymentMethodId": "string",
"paymentMethodType": "PAYMENT_METHOD_TYPE_UNSPECIFIED"
},
"voidedInvoiceId": "string"
}'{
"items": [
{
"amountCents": "string",
"itemCode": "string",
"itemId": "string",
"taxAmountCents": "string",
"taxBreakdown": [
{
"enumedTaxCode": "INVOICE_APPLIED_TAX_ON_WHOLE_INVOICE_CODE_UNSPECIFIED",
"name": "string",
"rate": {
"units": "string",
"nanos": 0
},
"taxAmount": "string",
"type": "string"
}
]
}
]
}