Skip to main content

Invoice

ResourceFinancial · BillingTrial useMaturity 0

Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
13 of 13 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierBusiness Identifier for item
statusRequired?!Σ
1..1codedraft | issued | balanced | cancelled | entered-in-errorBinding (required): invoice-status
cancelledReason
0..1stringReason for cancellation of this Invoice
typeΣ
0..1CodeableConceptType of Invoice
subjectΣ
0..1Reference(Patient | Group)Recipient(s) of goods and services
recipientΣ
0..1Reference(Organization | Patient | RelatedPerson)Recipient of this invoice
dateΣ
0..1dateTimeInvoice date / posting date
participant
0..*BackboneElementParticipant in creation of this Invoice
role
0..1CodeableConceptType of involvement in creation of this Invoice
actorRequired
1..1Reference(Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson)Individual who was involved
issuer
0..1Reference(Organization)Issuing Organization of Invoice
account
0..1Reference(Account)Account that is being balanced
lineItem
0..*BackboneElementLine items of this Invoice
sequence
0..1positiveIntSequence number of line item
chargeItem[x]Required
1..1Reference(ChargeItem) | CodeableConceptReference to ChargeItem containing details of this line item or an inline billing code
priceComponent
0..*BackboneElementComponents of total line item price
typeRequired
1..1codebase | surcharge | deduction | discount | tax | informationalBinding (required): invoice-priceComponentType
code
0..1CodeableConceptCode identifying the specific component
factor
0..1decimalFactor used for calculating this component
amount
0..1MoneyMonetary amount associated with this component
totalPriceComponent
0..*Same as Invoice.lineItem.priceComponentComponents of Invoice total
totalNetΣ
0..1MoneyNet total of this Invoice
totalGrossΣ
0..1MoneyGross total of this Invoice
paymentTerms
0..1markdownPayment details
note
0..*AnnotationComments made about the invoice

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Invoice?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
accountreference

Account that is being balanced

Invoice.account
datedate

Invoice date / posting date

Invoice.date
identifiertoken

Business Identifier for item

Invoice.identifier
issuerreference

Issuing Organization of Invoice

Invoice.issuer
participantreference

Individual who was involved

Invoice.participant.actor
participant-roletoken

Type of involvement in creation of this Invoice

Invoice.participant.role
patientreference

Recipient(s) of goods and services

Invoice.subject.where(resolve() is Patient)
recipientreference

Recipient of this invoice

Invoice.recipient
statustoken

draft | issued | balanced | cancelled | entered-in-error

Invoice.status
subjectreference

Recipient(s) of goods and services

Invoice.subject
totalgrossquantity

Gross total of this Invoice

Invoice.totalGross
totalnetquantity

Net total of this Invoice

Invoice.totalNet
typetoken

Type of Invoice

Invoice.type

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition