Invoice creation requests bundle totals, line items, and contextual patient details.Documentation Index
Fetch the complete documentation index at: https://docs.dentolize.com/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Details |
|---|---|---|
| id | string | Invoice identifier. |
| total | number | Total amount after all adjustments. |
| tax | number | Tax value. |
| discount | number | Discount amount. |
| subtotal | number | Amount before tax and discount. |
| taxPercent | number | Tax percentage applied. |
| discountPercent | number | Discount percentage applied. |
| file_no | string | Invoice number (payload.invoiceId). |
| reference_no | string | External reference (payload.referenceId). |
| invoice_line_ids | array | Line items for services performed. |
| patient_id | string | Identifier for the billed patient. |
| patient_data | object | Patient snapshot with identifiers and contact info. |
| branch_data | object | Branch context (id, name) when available. |
| doctor_data | object | Treating doctor details (id, name) when available. |
Invoice line schema
| Field | Type | Details |
|---|---|---|
| product_id | string | Source operation identifier. |
| quantity | number | Units billed. |
| price_unit | number | Price per unit. |
| name | string | Display name of the billed service. |
| service_id | string | Linked procedure identifier, if present. |