← Technical API reference

Frontend module · STATIC DECLARATIONS

Charge Item Api client API reference · mansoq-web

10 client route/call declarations with path parameters, named payload/response types and source references. Exact server acceptance and permissions require the matched backend contract.

Static API contract — behavior review pending. Source baseline f6e9f05f76d4.

Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.

Client contract scope

These 10 declarations come from repositories/platform/mansoq-web/src/types/billing/chargeItem/chargeItemApi.ts. Client types and noAuth flags describe the caller; they do not authorize a server action. Dynamic paths and missing backend matches are retained as review work, not repaired into invented endpoints.

Operation map

Client method HTTP method Path pattern Resolution
default.listChargeItem GET /api/v1/facility/{facilityId}/charge_item/ literal
default.retrieveChargeItem GET /api/v1/facility/{facilityId}/charge_item/{chargeItemId}/ literal
default.createChargeItem POST /api/v1/facility/{facilityId}/charge_item/ literal
default.updateChargeItem PUT /api/v1/facility/{facilityId}/charge_item/{chargeItemId}/ literal
default.applyChargeItemDefinitions POST /api/v1/facility/{facilityId}/charge_item/apply_charge_item_defs/ literal
default.attestChargePerformance POST /api/v1/facility/{facilityId}/charge_item/{chargeItemId}/attest-performance/ literal
default.addChargeItemsToInvoice POST /api/v1/facility/{facilityId}/invoice/{invoiceId}/attach_items_to_invoice/ literal
default.removeChargeItemFromInvoice POST /api/v1/facility/{facilityId}/invoice/{invoiceId}/remove_item_from_invoice/ literal
default.upsertChargeItem POST /api/v1/facility/{facilityId}/charge_item/upsert/ literal
default.changeAccount POST /api/v1/facility/{facilityId}/charge_item/change_account/ literal

default.listChargeItem

GET /api/v1/facility/{facilityId}/charge_item/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

Declared default query fields: ordering (string). These are defaults observed at this route object, not an exhaustive query allowlist.

response type: PaginatedResponse<ChargeItemRead>. client-side declaration; not proof of accepted server payload.

PaginatedResponse declared fields:

Field Type Required Description
count number true —
results TItem[] true —

ChargeItemRead declared fields:

Field Type Required Description
total_price_components MonetaryComponent[] true —
discount_configuration DiscountConfiguration | null true —
charge_item_definition ChargeItemDefinitionBase true —
service_resource ChargeItemServiceResource true —
service_resource_id string false —
rcm_charge_capture string | null false —
performer_actor UserReadMinimal false —
created_date string true —
modified_date string true —
created_by UserReadMinimal true —
updated_by UserReadMinimal true —

Composed/inherited schema references: ChargeItemBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.retrieveChargeItem

GET /api/v1/facility/{facilityId}/charge_item/{chargeItemId}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, chargeItemId. Transport strings are declared here; semantic identifier types require the server contract.

response type: ChargeItemRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.createChargeItem

POST /api/v1/facility/{facilityId}/charge_item/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

request type: ChargeItemCreate. client-side declaration; not proof of accepted server payload.

ChargeItemCreate declared fields:

Field Type Required Description
encounter string false —
patient string false —
account string false —
service_resource ChargeItemServiceResource false —
service_resource_id string false —

Composed/inherited schema references: ChargeItemBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

response type: ChargeItemRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.updateChargeItem

PUT /api/v1/facility/{facilityId}/charge_item/{chargeItemId}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, chargeItemId. Transport strings are declared here; semantic identifier types require the server contract.

request type: ChargeItemUpdate. client-side declaration; not proof of accepted server payload.

ChargeItemUpdate declared fields:

Field Type Required Description
account string false —
performer_actor string false —

Composed/inherited schema references: ChargeItemBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

response type: ChargeItemRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.applyChargeItemDefinitions

POST /api/v1/facility/{facilityId}/charge_item/apply_charge_item_defs/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

request type: ApplyMultipleChargeItemDefinitionRequest. client-side declaration; not proof of accepted server payload.

ApplyMultipleChargeItemDefinitionRequest declared fields:

Field Type Required Description
requests ApplyChargeItemDefinitionRequest[] true —

response type: ApplyChargeItemDefinitionsResponse. client-side declaration; not proof of accepted server payload.

ApplyChargeItemDefinitionsResponse declared fields:

Field Type Required Description
charges AppliedChargeItemResult[] true —

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.attestChargePerformance

POST /api/v1/facility/{facilityId}/charge_item/{chargeItemId}/attest-performance/. typed route object; literal. single static method/path match; deployment boundary still requires review.

Path parameters: facilityId, chargeItemId. Transport strings are declared here; semantic identifier types require the server contract.

request type: object. client-side declaration; not proof of accepted server payload.

default.attestChargePerformance.request declared fields:

Field Type Required Description
performed_at string true —
unit string true —

response type: object. client-side declaration; not proof of accepted server payload.

default.attestChargePerformance.response declared fields:

Field Type Required Description
charge_item string true —
charge_capture string true —
created boolean true —

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.addChargeItemsToInvoice

POST /api/v1/facility/{facilityId}/invoice/{invoiceId}/attach_items_to_invoice/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, invoiceId. Transport strings are declared here; semantic identifier types require the server contract.

request type: object. client-side declaration; not proof of accepted server payload.

default.addChargeItemsToInvoice.request declared fields:

Field Type Required Description
charge_items string[] true —

response type: ChargeItemRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.removeChargeItemFromInvoice

POST /api/v1/facility/{facilityId}/invoice/{invoiceId}/remove_item_from_invoice/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, invoiceId. Transport strings are declared here; semantic identifier types require the server contract.

request type: object. client-side declaration; not proof of accepted server payload.

default.removeChargeItemFromInvoice.request declared fields:

Field Type Required Description
charge_item string true —

response type: ChargeItemRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.upsertChargeItem

POST /api/v1/facility/{facilityId}/charge_item/upsert/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

request type: object. client-side declaration; not proof of accepted server payload.

default.upsertChargeItem.request declared fields:

Field Type Required Description
datapoints ChargeItemUpdate[] true —

response type: ChargeItemRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.changeAccount

POST /api/v1/facility/{facilityId}/charge_item/change_account/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

request type: object. client-side declaration; not proof of accepted server payload.

default.changeAccount.request declared fields:

Field Type Required Description
target_account string true —
charge_items string[] true —

response type: void. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

Pinned source evidence

Links require access to the private source repository.