curl --request GET \
--url https://api.decodahealth.com/billing/invoice/select-all \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"id": "<string>",
"status": "ACTIVE",
"createdDate": "2023-11-07T05:31:56Z",
"invoices": [
{
"id": "<string>",
"status": "PENDING",
"amount": 123,
"methodsAttempted": [
"<array>"
],
"method": "CHARGE_CARD",
"rule": {
"id": "<string>",
"name": "<string>",
"methods": [
"CHARGE_CARD"
],
"delayInDays": 123,
"message": "<string>"
},
"sendTime": "2023-11-07T05:31:56Z",
"pausedDate": "2023-11-07T05:31:56Z",
"resumedDate": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"pdfPath": "<string>",
"emailStatus": "<string>",
"smsContent": "<string>",
"callStatus": "<string>"
}
],
"patient": {
"id": "<string>",
"firstName": "<string>",
"charges": [
{
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"totalOutstanding": 123,
"total": 123,
"externalCreatedDate": "2023-11-07T05:31:56Z"
}
],
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>"
},
"resumedDate": "2023-11-07T05:31:56Z",
"pausedDate": "2023-11-07T05:31:56Z",
"updatedDate": "2023-11-07T05:31:56Z"
}
]curl --request GET \
--url https://api.decodahealth.com/billing/invoice/select-all \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'[
{
"id": "<string>",
"status": "ACTIVE",
"createdDate": "2023-11-07T05:31:56Z",
"invoices": [
{
"id": "<string>",
"status": "PENDING",
"amount": 123,
"methodsAttempted": [
"<array>"
],
"method": "CHARGE_CARD",
"rule": {
"id": "<string>",
"name": "<string>",
"methods": [
"CHARGE_CARD"
],
"delayInDays": 123,
"message": "<string>"
},
"sendTime": "2023-11-07T05:31:56Z",
"pausedDate": "2023-11-07T05:31:56Z",
"resumedDate": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"pdfPath": "<string>",
"emailStatus": "<string>",
"smsContent": "<string>",
"callStatus": "<string>"
}
],
"patient": {
"id": "<string>",
"firstName": "<string>",
"charges": [
{
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"totalOutstanding": 123,
"total": 123,
"externalCreatedDate": "2023-11-07T05:31:56Z"
}
],
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>"
},
"resumedDate": "2023-11-07T05:31:56Z",
"pausedDate": "2023-11-07T05:31:56Z",
"updatedDate": "2023-11-07T05:31:56Z"
}
]The tenant you are making this request on behalf of
Your api key
asc, desc The status of an invoice set.
ACTIVE, PAUSED, CANCELLED, EXPIRED, PAID, WILL_FAIL, FAILED Successful Response
The status of an invoice set.
ACTIVE, PAUSED, CANCELLED, EXPIRED, PAID, WILL_FAIL, FAILED Show child attributes
The status of an invoice.
PENDING, SENT, FAILED, PAUSED, CANCELLED 3 elementsThe method used to send an invoice to a patient.
CHARGE_CARD, SMS, EMAIL, CALL, MAIL, EXPIRY Show child attributes
Show child attributes