Invoices
Get Invoice
GET
/
api
/
v1
/
invoices
/
{id}
curl --request GET \
--url https://app.flowglad.com/api/v1/invoices/{id} \
--header 'Authorization: <api-key>'
{
"invoice": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"purchaseId": "<string>",
"invoiceNumber": "<string>",
"invoiceDate": "2023-11-07T05:31:56Z",
"billingPeriodId": "null",
"dueDate": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"organizationId": "<string>",
"status": "draft",
"subscriptionId": "null",
"billingPeriodStartDate": "2023-11-07T05:31:56Z",
"billingPeriodEndDate": "2023-11-07T05:31:56Z",
"ownerMembershipId": "<string>",
"pdfURL": "<string>",
"receiptPdfURL": "<string>",
"memo": "<string>",
"bankPaymentOnly": true,
"type": "purchase",
"currency": "USD",
"taxAmount": 123,
"subtotal": 123,
"taxType": "amusement_tax",
"taxCountry": "AF",
"taxState": "<string>",
"taxRatePercentage": "<string>",
"applicationFee": 123
},
"invoiceLineItems": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"invoiceId": "<string>",
"quantity": 123,
"priceId": "<string>",
"description": "<string>",
"price": 123
}
]
}
Authorizations
Path Parameters
Response
200
application/json
Successful response
The response is of type object
.
curl --request GET \
--url https://app.flowglad.com/api/v1/invoices/{id} \
--header 'Authorization: <api-key>'
{
"invoice": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"purchaseId": "<string>",
"invoiceNumber": "<string>",
"invoiceDate": "2023-11-07T05:31:56Z",
"billingPeriodId": "null",
"dueDate": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"organizationId": "<string>",
"status": "draft",
"subscriptionId": "null",
"billingPeriodStartDate": "2023-11-07T05:31:56Z",
"billingPeriodEndDate": "2023-11-07T05:31:56Z",
"ownerMembershipId": "<string>",
"pdfURL": "<string>",
"receiptPdfURL": "<string>",
"memo": "<string>",
"bankPaymentOnly": true,
"type": "purchase",
"currency": "USD",
"taxAmount": 123,
"subtotal": 123,
"taxType": "amusement_tax",
"taxCountry": "AF",
"taxState": "<string>",
"taxRatePercentage": "<string>",
"applicationFee": 123
},
"invoiceLineItems": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"invoiceId": "<string>",
"quantity": 123,
"priceId": "<string>",
"description": "<string>",
"price": 123
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.