cURL
curl --request GET \ --url https://api.alguna.io/invoices/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "oQLSmmnn", "accountId": "aBsZxlLh", "status": "upcoming", "dueDate": "2024-02-23T00:00:00Z", "issueDate": "2024-01-24T16:37:44.958601Z", "billingPeriodStart": "2024-01-01T00:00:00Z", "billingPeriodEnd": "2024-01-31T23:59:59Z", "billingPeriod": "Jan 1, 2024 - Jan 31, 2024", "currency": "USD", "description": "Invoice for period January 1, 2024 to January 31, 2024", "lineItems": [ { "id": "tlfAFLJI", "description": "Platform subscription", "billingPeriodStart": "2024-01-01T00:00:00Z", "billingPeriodEnd": "2024-01-31T23:59:59Z", "quantity": "1", "unitPrice": "200", "totalPrice": "200", "isEditable": false, "productId": "HyujZkkm" }, { "id": "vPcZvThU", "description": "Monthly user seats", "billingPeriodStart": "2024-01-01T00:00:00Z", "billingPeriodEnd": "2024-01-31T23:59:59Z", "quantity": "1", "unitPrice": "500", "totalPrice": "500", "isEditable": false, "productId": "GPAPMbiw" } ], "subtotal": "700", "tax": "0", "total": "700", "amountPaid": "0", "amountRemaining": "700", "externalId": "80c84e7d-b265-4835-8ea0-e38a6c924ba4", "externalProvider": "xero", "externalUrl": "https://go.xero.com/", "purchaseOrderNumber": null, "createdAt": "2024-01-24T16:36:52.703596Z", "updatedAt": "2024-01-26T19:00:40.957736Z" }
Documentation IndexFetch the complete documentation index at: https://alguna.com/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Show properties
true
false