curl --request GET \
--url https://api.example.com/view-specific/{customerId}/invoices{
"data": [
{
"issuedAt": "<string>",
"period": {
"startedAt": "<string>",
"endedAt": "<string>"
},
"components": [
{
"id": "<string>",
"type": "PREMIUM",
"premium": {
"amountPreFeesAndTaxes": 123,
"fees": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123,
"brokerageFirmId": "<string>"
}
],
"totalFees": 123,
"amountWithFeesPreTaxes": 123,
"taxes": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123
}
],
"totalTaxes": 123,
"amountWithFeesAndTaxes": 123
},
"reconciliation": true
}
],
"lines": [
{
"label": "<string>",
"total": {
"amountPreFeesAndTaxes": 123,
"fees": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123,
"brokerageFirmId": "<string>"
}
],
"totalFees": 123,
"amountWithFeesPreTaxes": 123,
"taxes": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123
}
],
"totalTaxes": 123,
"amountWithFeesAndTaxes": 123
}
}
],
"total": {
"amountPreFeesAndTaxes": 123,
"fees": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123,
"brokerageFirmId": "<string>"
}
],
"totalFees": 123,
"amountWithFeesPreTaxes": 123,
"taxes": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123
}
],
"totalTaxes": 123,
"amountWithFeesAndTaxes": 123
},
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"id": "<string>",
"type": "INVOICE",
"status": "DRAFTED",
"createdAt": "<string>",
"hasFailedOnce": true,
"firstFailedAt": "<string>",
"incrementalId": 123,
"externalId": "<string>",
"paymentId": "<string>",
"paidAt": "<string>",
"creditedInvoiceId": "<string>",
"replacedInvoiceId": "<string>",
"refundNotHandledReason": "SEPA_PAYMENT_180_DAYS_EXCEEDED",
"signedUrl": "<string>"
}
],
"pageInfo": {
"first": true,
"last": true
},
"totalCount": 123,
"currentPage": 123,
"totalPages": 123
}curl --request GET \
--url https://api.example.com/view-specific/{customerId}/invoices{
"data": [
{
"issuedAt": "<string>",
"period": {
"startedAt": "<string>",
"endedAt": "<string>"
},
"components": [
{
"id": "<string>",
"type": "PREMIUM",
"premium": {
"amountPreFeesAndTaxes": 123,
"fees": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123,
"brokerageFirmId": "<string>"
}
],
"totalFees": 123,
"amountWithFeesPreTaxes": 123,
"taxes": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123
}
],
"totalTaxes": 123,
"amountWithFeesAndTaxes": 123
},
"reconciliation": true
}
],
"lines": [
{
"label": "<string>",
"total": {
"amountPreFeesAndTaxes": 123,
"fees": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123,
"brokerageFirmId": "<string>"
}
],
"totalFees": 123,
"amountWithFeesPreTaxes": 123,
"taxes": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123
}
],
"totalTaxes": 123,
"amountWithFeesAndTaxes": 123
}
}
],
"total": {
"amountPreFeesAndTaxes": 123,
"fees": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123,
"brokerageFirmId": "<string>"
}
],
"totalFees": 123,
"amountWithFeesPreTaxes": 123,
"taxes": [
{
"id": "<string>",
"chargeType": "ONE_TIME",
"amount": 123
}
],
"totalTaxes": 123,
"amountWithFeesAndTaxes": 123
},
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"id": "<string>",
"type": "INVOICE",
"status": "DRAFTED",
"createdAt": "<string>",
"hasFailedOnce": true,
"firstFailedAt": "<string>",
"incrementalId": 123,
"externalId": "<string>",
"paymentId": "<string>",
"paidAt": "<string>",
"creditedInvoiceId": "<string>",
"replacedInvoiceId": "<string>",
"refundNotHandledReason": "SEPA_PAYMENT_180_DAYS_EXCEEDED",
"signedUrl": "<string>"
}
],
"pageInfo": {
"first": true,
"last": true
},
"totalCount": 123,
"currentPage": 123,
"totalPages": 123
}Optional: the whenAt datetime
Optional: the simulatedAt datetime
the issuedAt sort direction
Was this page helpful?