"Docs" values
1 row is stored for this page
| Field | Field type | Value |
|---|
| Title | String | Invoice |
| DocType | String | reference |
| Domain | String | billing |
| Summary | Text | |
| SidebarOrder | Integer | 4 |
| IntroducedIn | String | 3.0 |
| DeprecatedIn | String | |
| FHIRResource | String | |
| Model | String | Invoice |
| SourceFile | String | |
| Status | String | current |
18 rows are stored for this page
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | References |
| Field | String | facility |
| FieldType | String | FK → facility.Facility (PROTECT) |
| Notes | Text | Facility where the invoice is created |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | References |
| Field | String | patient |
| FieldType | String | FK → emr.Patient (PROTECT) |
| Notes | Text | Entity that incurred the charges; set server-side from <code>account.patient</code> on write |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | References |
| Field | String | account |
| FieldType | String | FK → emr.Account (PROTECT) |
| Notes | Text | Account being balanced by this invoice |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | status |
| FieldType | String | CharField(100) |
| Notes | Text | <code>InvoiceStatusOptions</code> enum — required on write |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | title |
| FieldType | String | CharField(1024) |
| Notes | Text | <code>str |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | cancelled_reason |
| FieldType | String | TextField |
| Notes | Text | <code>str |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | payment_terms |
| FieldType | String | TextField |
| Notes | Text | <code>str |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | note |
| FieldType | String | TextField |
| Notes | Text | <code>str |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | number |
| FieldType | String | CharField(1000) |
| Notes | Text | <code>str |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | issue_date |
| FieldType | String | DateTimeField |
| Notes | Text | <code>datetime |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Status & metadata |
| Field | String | is_refund |
| FieldType | String | BooleanField |
| Notes | Text | <code>bool</code>, default <code>False</code> |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Charge items |
| Field | String | charge_items |
| FieldType | String | ArrayField[int], default [] |
| Notes | Text | write: <code>list[UUID4]</code>; storage: list of integer PKs |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Charge items |
| Field | String | charge_items_copy |
| FieldType | String | JSONField, default [] |
| Notes | Text | <code>list[dict]</code> — array of serialized <code>ChargeItemReadSpec</code> |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Totals (server-maintained) |
| Field | String | total_price_components |
| FieldType | String | JSONField, default {} |
| Notes | Text | retrieve: <code>list[dict]</code> of <code>MonetaryComponent</code> |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Totals (server-maintained) |
| Field | String | total_net |
| FieldType | String | DecimalField(20, 6), default 0 |
| Notes | Text | <code>Decimal(max_digits=20, decimal_places=6)</code> |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Totals (server-maintained) |
| Field | String | total_gross |
| FieldType | String | DecimalField(20, 6), default 0 |
| Notes | Text | <code>Decimal(max_digits=20, decimal_places=6)</code> |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Locking |
| Field | String | locked |
| FieldType | String | BooleanField, default False |
| Notes | Text | <code>bool</code> (read-only on read specs) |
| Field | Field type | Value |
|---|
| Model | String | Invoice |
| Section | String | Locking |
| Field | String | lock_history |
| FieldType | String | JSONField, default [] |
| Notes | Text | <code>list[dict]</code> — each entry <code>{ user, ... }</code> |