curl --location 'https://stg-gateway.invora.app/api/billing/v2/invoices' \
--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"
}'