Retrieve a single invoice for the location, including line items.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/invoice/{invoiceId}
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location/{locationId}/invoice/{invoiceId}
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/invoice/1234' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Invoice retrieved successfully
ISO 4217 currency code. May be null for legacy invoices without a resolved currency.
Example:"USD"
Payment customer ID. May be null for legacy invoices without a resolved payment customer.
Example:400
Response
{ "appointmentId": 700, "createdAt": "2025-01-15T14:00:00Z", "currency": "USD", "discount": { "amount": 50, "currency": "USD" }, "dueOn": "2025-01-15T14:00:00Z", "externalId": "ext_inv_001", "id": 1234, "lineItems": [ { … } ], "locationId": 200, "note": "Balance due at checkout", "patientId": 300, "paymentCustomerId": 400, "purchaseOrderId": 500, "status": "OPEN", "subscriptionId": 600, "subtotal": { "amount": 50, "currency": "USD" }, "tax": { "amount": 50, "currency": "USD" }, "totalAmount": { "amount": 50, "currency": "USD" }, "updatedAt": "2025-01-15T14:00:00Z" }