v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
Invoices

Expand a group code (kit) onto the estimate as individual line items. Each component line is tagged with the originating GroupCodeId; any price rules attached to the kit are applied during the resulting recalculation.

post/Invoices/{id}/group-codes

Path parameters

idstring required

Request body

groupCodeIdstring

Response

OK

idstring
invoiceNumberstring
clientIdstring nullable
clientNamestring nullable
patientIdstring nullable
patientNamestring nullable
appointmentIdstring nullable
providerModestring
invoiceProviderIdstring nullable
statusstring
taxModestring

"us-sales-tax" or "vat" — snapshot at estimate creation.

notesstring nullable
mergedIntoInvoiceIdstring nullable

Set when this invoice was merged into a new combined invoice (it is then Superseded): the id of the successor bill.

mergedIntoInvoiceNumberstring nullable

Human-readable number of the successor combined invoice this one was merged into (set only on a Superseded source). Lets the UI link forward without a second fetch.

signatureDatastring nullable
signedAtstring date-time nullable
issuedAtstring date-time nullable

When the bill was issued (Draft → Unpaid) and its totals frozen. Null for Drafts and legacy invoices issued before the issue boundary.

createdAtstring date-time
updatedAtstring date-time