curl --location 'https://stg-gateway.invora.app/api/billing/v2/credit-notes/create-data-export' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"amountFrom": 0,
"amountTo": 0,
"billingEntityIds": [
"string"
],
"creditStatus": [
"CREDIT_NOTE_CREDIT_STATUS_UNSPECIFIED"
],
"currency": "CURRENCY_ENUM_UNSPECIFIED",
"customerExternalId": "string",
"customerId": "string",
"invoiceNumber": "string",
"issuingDateFrom": "2019-08-24",
"issuingDateTo": "2019-08-24",
"reason": [
"CREDIT_NOTE_REASON_UNSPECIFIED"
],
"refundStatus": [
"CREDIT_NOTE_REFUND_STATUS_UNSPECIFIED"
],
"searchTerm": "string",
"selfBilled": true,
"types": [
"CREDIT_NOTE_TYPE_UNSPECIFIED"
]
},
"format": "DATA_EXPORT_FORMAT_TYPE_UNSPECIFIED",
"resourceType": "CREDIT_NOTE_EXPORT_TYPE_UNSPECIFIED"
}'