#
Era automation worklist
GET
/api/v1/billing/era-automation
Tenant-scoped recent 100 ERA feeds, automation outcomes, and feed events. Independent Claim.MD ERA cursor is hidden. Download-only by default; opt-in staging prepares exact suggestions only. Live remittance status/version included; no ledger posting.
Access
OAuth 2.0 access tokenbilling.read
Responses
-
200
Success
application/json
-
Fields EraAutomationWorklist · 29
| Field |
Type |
Details |
events
required
|
array of object |
items ≤ 100
|
actor_id
|
string (uuid) |
|
created_at
|
string (date-time) |
|
evidence
|
object |
|
reason
|
string |
|
route_key
|
string |
|
version
|
integer |
|
feeds
required
|
array of EraAutomationFeed |
items ≤ 100
|
auto_stage
required
|
boolean |
|
cursor_saved
required
|
boolean |
|
next_poll_at
required
|
string (date-time) |
|
pages
required
|
integer |
|
paused
required
|
boolean |
|
route_key
required
|
string |
|
version
required
|
integer |
|
last_result
|
string or null |
|
last_success_at
|
string or null |
|
lease_until
|
string or null |
|
items
required
|
array of EraAutomationOutcome |
items ≤ 100
|
created_at
required
|
string (date-time) |
|
issues
required
|
array of string |
Immutable findings at staging, not a current posting authorization
|
remittance_id
required
|
string or null |
|
remote_id
required
|
string |
|
report_id
required
|
string (uuid) |
|
route_key
required
|
string |
|
status
required
|
string |
one of held, staged
|
remittance_status
|
string or null |
|
remittance_version
|
integer or null |
|
ledger_posting
required
|
string |
one of staff_review_required
|
Example response placeholder values
{
"events": [
{
"actor_id": "00000000-0000-4000-8000-000000000000",
"created_at": "2026-01-15T15:30:00Z",
"evidence": {},
"reason": "string",
"route_key": "string",
"version": 1
}
],
"feeds": [
{
"auto_stage": true,
"cursor_saved": true,
"next_poll_at": "2026-01-15T15:30:00Z",
"pages": 1,
"paused": true,
"route_key": "string",
"version": 1,
"last_result": "string"
}
],
"items": [
{
"created_at": "2026-01-15T15:30:00Z",
"issues": [
"string"
],
"remittance_id": "00000000-0000-4000-8000-000000000000",
"remote_id": "string",
"report_id": "00000000-0000-4000-8000-000000000000",
"route_key": "string",
"status": "held",
"remittance_status": "string"
}
],
"ledger_posting": "staff_review_required"
}
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/era-automation" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Era automation feed action
POST
/api/v1/billing/era-automation/{key}/actions
Owner-only enable_staging, disable_staging, or poll_now with current ERA feed If-Match and reason. Connection pause also stops ERA discovery/download/staging. Does not rewind cursor, retry held outcomes, select CO write-offs or post ledger entries. In-flight read may finish.
Access
OAuth 2.0 access tokenbilling.write
Parameters
| Name |
In |
Type |
Details |
key
required
|
path |
string |
|
If-Match
required
|
header |
string |
Quoted current connection or report version. |
Request body
application/json · required
Fields EraAutomationFeedAction · 2
| Field |
Type |
Details |
action
required
|
string |
one of enable_staging, disable_staging, poll_now
|
reason
required
|
string |
length 1–1000
|
Example request body placeholder values
{
"action": "enable_staging",
"reason": "string"
}
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/era-automation/{key}/actions" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Era batch list
GET
/api/v1/billing/era-batches
Most recent 100 tenant-owned ERA file imports; original text is only returned by detail.
Access
OAuth 2.0 access tokenbilling.read
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/era-batches" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Import era batch
POST
/api/v1/billing/era-batches
Atomic file import with immutable original/hash, exact transaction slices and envelope controls. Explicit payer per transaction; no ledger writes. Idempotent request ID, file-hash and payer/trace deduplication. Same trace may recur inside this file across distinct transactions.
Access
OAuth 2.0 access tokenbilling.write
Request body
application/json · required
Fields EraBatchImport · 6
| Field |
Type |
Details |
original_text
required
|
string |
Exact original ASCII 835 file, up to 1 MiB, 100 transaction sets and 100,000 segments; multiple groups/interchanges or unwrapped transactions.
length 1–1048576
|
payer_ids
required
|
array of string (uuid) |
Native payer IDs in source transaction order; exact payer-code match required.
items 1–100
|
reason
required
|
string |
length 1–1000
|
request_id
required
|
string (uuid) |
|
remote_report_id
|
string or null |
|
source_history_id
|
string or null |
|
Example request body placeholder values
{
"original_text": "string",
"payer_ids": [
"00000000-0000-4000-8000-000000000000"
],
"reason": "string",
"request_id": "00000000-0000-4000-8000-000000000000",
"remote_report_id": "00000000-0000-4000-8000-000000000000",
"source_history_id": "00000000-0000-4000-8000-000000000000"
}
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/era-batches" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Preview era batch
POST
/api/v1/billing/era-batches/preview
Validate envelopes, controls/counts, delimiters and transaction boundaries before selecting native payers. Returns parsed transactions, exact offsets and payer candidates. No source/native/ledger mutation.
Access
OAuth 2.0 access tokenbilling.write
Request body
application/json · required
Fields object · 1
| Field |
Type |
Details |
original_text
required
|
string |
length 1–1048576
|
Example request body placeholder values
{
"original_text": "string"
}
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/era-batches/preview" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Era batch detail
GET
/api/v1/billing/era-batches/{id}
Exact original, ordered native transactions, envelope/byte-offset controls, current child versions and immutable action history.
Access
OAuth 2.0 access tokenbilling.read
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/era-batches/{id}" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Era batch action
POST
/api/v1/billing/era-batches/{id}/actions
Current batch If-Match plus ordered child versions. Reconcile simulates the file in a rolled-back savepoint; post executes all source-ordered transactions atomically; reverse unwinds rows/transactions newest first. Any stale version, dependency, failed match or audit failure leaves accounting unchanged. Native child posting/reversal is blocked.
Access
OAuth 2.0 access tokenbilling.write
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
If-Match
required
|
header |
string |
Quoted current connection or report version. |
Request body
application/json · required
Fields EraBatchAction · 5
| Field |
Type |
Details |
action
required
|
string |
one of reconcile, post, reverse
|
reason
required
|
string |
length 1–1000
|
versions
required
|
array of EraBatchVersion |
Exact ordered child versions from batch detail. Posting also requires the previously reconciled vector.
items 1–100
|
id
required
|
string (uuid) |
|
version
required
|
integer |
value ≥ 1
|
Example request body placeholder values
{
"action": "reconcile",
"reason": "string",
"versions": [
{
"id": "00000000-0000-4000-8000-000000000000",
"version": 1
}
]
}
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/era-batches/{id}/actions" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Recoupment cases
GET
/api/v1/billing/recoupments
Tenant-scoped provider recoupment follow-up cases with attributed event history; up to 100 items. Positive reviewed WO postings create cases; FB and negative offsets do not. Case actions never change patient balances or send messages.
Access
OAuth 2.0 access tokenbilling.read
Responses
-
200
Success
application/json
-
Fields RecoupmentWorklist · 21
| Field |
Type |
Details |
items
required
|
array of object |
items ≤ 100
|
adjustment
required
|
ProviderAdjustment |
|
amount_cents
required
|
integer |
Signed PLB source amount. Positive decreases provider settlement cash; negative increases it.
value -1000000000–1000000000
|
fiscal_date
required
|
string (date) |
|
provider_id
required
|
string |
length 1–100
|
reason_code
required
|
string |
length 1–5
|
reference
required
|
string |
length ≤ 150
|
events
required
|
array of object |
|
actor_id
|
string (uuid) |
|
case_id
|
string (uuid) |
|
created_at
|
string (date-time) |
|
evidence
|
object |
|
reason
|
string |
|
version
|
integer |
|
id
required
|
string (uuid) |
|
payer_id
required
|
string (uuid) |
|
remittance_id
required
|
string (uuid) |
|
row_index
required
|
integer |
|
status
required
|
string |
one of open, disputed, acknowledged, closed, void
|
trace
required
|
string |
|
version
required
|
integer |
|
Example response placeholder values
{
"items": [
{
"adjustment": {
"amount_cents": -1000000000,
"fiscal_date": "2026-01-15",
"provider_id": "string",
"reason_code": "string",
"reference": "string"
},
"events": [
{
"actor_id": null,
"case_id": null,
"created_at": null,
"evidence": null,
"reason": null,
"version": null
}
],
"id": "00000000-0000-4000-8000-000000000000",
"payer_id": "00000000-0000-4000-8000-000000000000",
"remittance_id": "00000000-0000-4000-8000-000000000000",
"row_index": 1,
"status": "open",
"trace": "string",
"version": 1
}
]
}
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/recoupments" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Recoupment case action
POST
/api/v1/billing/recoupments/{id}/actions
Versioned attributed dispute/acknowledge/close/reopen evidence. Voided cases cannot change; remittance reversal appends cash offsets and void history atomically. If-Match is the case version.
Access
OAuth 2.0 access tokenbilling.write
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
If-Match
required
|
header |
string |
Quoted current connection or report version. |
Request body
application/json · required
Fields RecoupmentAction · 2
| Field |
Type |
Details |
action
required
|
string |
one of dispute, acknowledge, close, reopen
|
reason
required
|
string |
length 1–1000
|
Example request body placeholder values
{
"action": "dispute",
"reason": "string"
}
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/recoupments/{id}/actions" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Remittance sources
GET
/api/v1/billing/remittance-sources
List at most 100 preserved global remittance sources and native reconciliation links. Larger source sets require narrower import batches.
Access
OAuth 2.0 access tokenbilling.read
Responses
-
200
Success
application/json
-
Fields RemittanceSources · 6
| Field |
Type |
Details |
items
|
array of object |
items ≤ 100
|
native_id
|
string or null |
|
source_data
|
object |
|
source_history_id
|
string (uuid) |
|
source_id
|
string |
|
source_instance
|
string |
|
Example response placeholder values
{
"items": [
{
"native_id": "00000000-0000-4000-8000-000000000000",
"source_data": {},
"source_history_id": "00000000-0000-4000-8000-000000000000",
"source_id": "string",
"source_instance": "string"
}
]
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/remittance-sources" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Remittance worklist
GET
/api/v1/billing/remittances
List remittance summaries, cursor paginated.
Access
OAuth 2.0 access tokenbilling.read
Parameters
| Name |
In |
Type |
Details |
after
|
query |
string (uuid) |
Opaque UUID cursor from preceding page |
Responses
-
200
Success
application/json
-
Fields RemittanceWorklist · 2
| Field |
Type |
Details |
items
|
array of object |
items ≤ 100
|
next_cursor
|
string or null |
|
Example response placeholder values
{
"items": [
{}
],
"next_cursor": "00000000-0000-4000-8000-000000000000"
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/remittances" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Import remittance
POST
/api/v1/billing/remittances
Stage idempotent normalized JSON or bounded single-transaction ASCII 835 (1 MiB, 1,000 claims, 1,000 PLB pairs). Original evidence is immutable. Duplicate payer/trace is blocked. Supported supplemental evidence is retained without adding ledger amounts; unknown/unbalanced data cannot post. Optional remote_report_id binds the exact retrieved 835. Matching and posting remain explicit whole-remittance operations.
Access
OAuth 2.0 access tokenbilling.write
Request body
application/json · required
Fields ImportRemittance · 8
| Field |
Type |
Details |
format
required
|
any |
one of normalized, x12_835
|
payer_id
required
|
string (uuid) |
|
reason
required
|
string |
length 1–1000
|
request_id
required
|
string (uuid) |
|
document
|
EraDocument or null |
|
original_text
|
string or null |
length ≤ 1048576
|
remote_report_id
|
string or null |
|
source_history_id
|
string or null |
|
Example request body placeholder values
{
"format": "normalized",
"payer_id": "00000000-0000-4000-8000-000000000000",
"reason": "string",
"request_id": "00000000-0000-4000-8000-000000000000",
"document": {
"claims": [
{
"adjustments": [],
"charged_cents": -1000000000,
"control_number": "string",
"paid_cents": -1000000000,
"patient_name": "string",
"patient_responsibility_cents": -1000000000,
"payer_control_number": "string",
"services": [],
"status": "string"
}
],
"currency": "string",
"payer_code": "string",
"payment_date": "2026-01-15",
"total_paid_cents": -1000000000,
"trace": "string",
"issues": [
"string"
],
"payer_identity": {
"additional_payer_id": "string",
"n1_identifier": "string",
"n1_qualifier": "string"
}
},
"original_text": "string",
"remote_report_id": "00000000-0000-4000-8000-000000000000",
"source_history_id": "00000000-0000-4000-8000-000000000000"
}
Responses
-
200
Success
application/json
-
Fields Remittance · 55
| Field |
Type |
Details |
document
required
|
EraDocument |
At least one claim or provider adjustment. USD BPR equals summed CLP paid cents minus signed PLB cents. Provider-only settlements and exact-original negative CLP22 supported; unsupported profiles remain held.
|
claims
required
|
array of EraClaim |
items 0–1000
|
adjustments
required
|
array of EraAdjustment |
items ≤ 100
|
amount_cents
required
|
integer |
value -1000000000–1000000000
|
group
required
|
string |
one of CO, PR, OA, PI, CRlength ≤ 5
|
reason_code
required
|
string |
length ≤ 20
|
service_index
required
|
integer or null |
value ≥ 0
|
charged_cents
required
|
integer |
value -1000000000–1000000000
|
control_number
required
|
string |
length ≤ 100
|
paid_cents
required
|
integer |
value -1000000000–1000000000
|
patient_name
required
|
string |
length ≤ 300
|
patient_responsibility_cents
required
|
integer |
value -1000000000–1000000000
|
payer_control_number
required
|
string |
length ≤ 150
|
services
required
|
array of EraService |
items ≤ 100
|
charged_cents
required
|
integer |
value -1000000000–1000000000
|
code
required
|
string |
length ≤ 200
|
line_control
required
|
string |
length ≤ 100
|
paid_cents
required
|
integer |
value -1000000000–1000000000
|
status
required
|
string |
Supported ordinary statuses 1,2,3,4,19,20,21; 22 is an exact-original signed reversal requiring a reviewed source posting.
length ≤ 10
|
currency
required
|
string |
length ≤ 10
|
payer_code
required
|
string |
length ≤ 100
|
payment_date
required
|
string (date) |
|
total_paid_cents
required
|
integer |
value -1000000000–1000000000
|
trace
required
|
string |
length ≤ 150
|
issues
|
array of string |
items ≤ 100000
|
payer_identity
|
EraPayerIdentity or null |
Omitted for historical normalized documents; existing evidence and hashes are not rewritten.
|
provider_adjustments
|
array of ProviderAdjustment |
default []items ≤ 1000
|
amount_cents
required
|
integer |
Signed PLB source amount. Positive decreases provider settlement cash; negative increases it.
value -1000000000–1000000000
|
fiscal_date
required
|
string (date) |
|
provider_id
required
|
string |
length 1–100
|
reason_code
required
|
string |
length 1–5
|
reference
required
|
string |
length ≤ 150
|
supplemental
|
array of EraSupplementalEvidence |
default []items ≤ 100000
|
claim_index
required
|
integer or null |
value 0–999
|
elements
required
|
array of string |
items 1–24
|
segment
required
|
any |
one of AMT, QTY, TS2, TS3, MIA, MOA
|
service_index
required
|
integer or null |
value 0–99
|
document_hash
required
|
string |
length ≤ 64
|
id
required
|
string (uuid) |
|
matches
required
|
array of EraMatch |
items ≤ 1000
|
account_version
required
|
integer |
value ≥ 1
|
claim_id
required
|
string (uuid) |
|
claim_version
required
|
integer |
value ≥ 1
|
row_index
required
|
integer |
value 0–999
|
writeoff_adjustments
required
|
array of integer |
items ≤ 100
|
correction_of_remittance_id
|
string or null |
Explicit positive-correction source: the active exact reversal remittance, including an earlier transaction in the same batch.
|
correction_of_row_index
|
integer or null |
Zero-based reversal row; pair with correction_of_remittance_id.
value 0–999
|
reverses_remittance_id
|
string or null |
Required for CLP22; exact posted original remittance
|
reverses_row_index
|
integer or null |
Zero-based original posted claim row required for CLP22
value 0–999
|
original_text
required
|
string or null |
|
payer_id
required
|
string (uuid) |
|
source_history_id
required
|
string or null |
|
status
required
|
any |
one of staged, reconciled, posted, reversed, rejected
|
trace
required
|
string |
length ≤ 150
|
version
required
|
integer |
value ≥ 1
|
Example response placeholder values
{
"document": {
"claims": [
{
"adjustments": [],
"charged_cents": -1000000000,
"control_number": "string",
"paid_cents": -1000000000,
"patient_name": "string",
"patient_responsibility_cents": -1000000000,
"payer_control_number": "string",
"services": [],
"status": "string"
}
],
"currency": "string",
"payer_code": "string",
"payment_date": "2026-01-15",
"total_paid_cents": -1000000000,
"trace": "string",
"issues": [
"string"
],
"payer_identity": {
"additional_payer_id": "string",
"n1_identifier": "string",
"n1_qualifier": "string"
}
},
"document_hash": "string",
"id": "00000000-0000-4000-8000-000000000000",
"matches": [
{
"account_version": 1,
"claim_id": "00000000-0000-4000-8000-000000000000",
"claim_version": 1,
"row_index": 0,
"writeoff_adjustments": [
0
],
"correction_of_remittance_id": "00000000-0000-4000-8000-000000000000",
"correction_of_row_index": 0,
"reverses_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"original_text": "string",
"payer_id": "00000000-0000-4000-8000-000000000000",
"source_history_id": "00000000-0000-4000-8000-000000000000",
"status": "staged",
"trace": "string",
"version": 1
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/remittances" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Read remittance
GET
/api/v1/billing/remittances/{id}
Read tenant scoped record, validation issues and review evidence.
Access
OAuth 2.0 access tokenbilling.read
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
Responses
-
200
Success
application/json
-
Fields RemittanceDetail · 57
| Field |
Type |
Details |
automation
required
|
object or null |
Provider staging provenance and immutable findings; suggested matches still require staff review
|
created_at
|
string (date-time) |
|
issues
|
array of string |
|
report_id
|
string (uuid) |
|
batch_id
required
|
string or null |
|
issues
required
|
array of string |
|
postings
required
|
array of object |
items ≤ 1000
|
current_account_balance_cents
|
integer |
Current charges plus net ledger, computed when read. A negative value is a patient credit. This projection does not modify original posting evidence or saved invoice snapshots.
|
ready_to_post
required
|
boolean |
|
remittance
required
|
Remittance |
|
document
required
|
EraDocument |
At least one claim or provider adjustment. USD BPR equals summed CLP paid cents minus signed PLB cents. Provider-only settlements and exact-original negative CLP22 supported; unsupported profiles remain held.
|
claims
required
|
array of EraClaim |
items 0–1000
|
adjustments
required
|
array of EraAdjustment |
items ≤ 100
|
charged_cents
required
|
integer |
value -1000000000–1000000000
|
control_number
required
|
string |
length ≤ 100
|
paid_cents
required
|
integer |
value -1000000000–1000000000
|
patient_name
required
|
string |
length ≤ 300
|
patient_responsibility_cents
required
|
integer |
value -1000000000–1000000000
|
payer_control_number
required
|
string |
length ≤ 150
|
services
required
|
array of EraService |
items ≤ 100
|
status
required
|
string |
Supported ordinary statuses 1,2,3,4,19,20,21; 22 is an exact-original signed reversal requiring a reviewed source posting.
length ≤ 10
|
currency
required
|
string |
length ≤ 10
|
payer_code
required
|
string |
length ≤ 100
|
payment_date
required
|
string (date) |
|
total_paid_cents
required
|
integer |
value -1000000000–1000000000
|
trace
required
|
string |
length ≤ 150
|
issues
|
array of string |
items ≤ 100000
|
payer_identity
|
EraPayerIdentity or null |
Omitted for historical normalized documents; existing evidence and hashes are not rewritten.
|
provider_adjustments
|
array of ProviderAdjustment |
default []items ≤ 1000
|
amount_cents
required
|
integer |
Signed PLB source amount. Positive decreases provider settlement cash; negative increases it.
value -1000000000–1000000000
|
fiscal_date
required
|
string (date) |
|
provider_id
required
|
string |
length 1–100
|
reason_code
required
|
string |
length 1–5
|
reference
required
|
string |
length ≤ 150
|
supplemental
|
array of EraSupplementalEvidence |
default []items ≤ 100000
|
claim_index
required
|
integer or null |
value 0–999
|
elements
required
|
array of string |
items 1–24
|
segment
required
|
any |
one of AMT, QTY, TS2, TS3, MIA, MOA
|
service_index
required
|
integer or null |
value 0–99
|
document_hash
required
|
string |
length ≤ 64
|
id
required
|
string (uuid) |
|
matches
required
|
array of EraMatch |
items ≤ 1000
|
account_version
required
|
integer |
value ≥ 1
|
claim_id
required
|
string (uuid) |
|
claim_version
required
|
integer |
value ≥ 1
|
row_index
required
|
integer |
value 0–999
|
writeoff_adjustments
required
|
array of integer |
items ≤ 100
|
correction_of_remittance_id
|
string or null |
Explicit positive-correction source: the active exact reversal remittance, including an earlier transaction in the same batch.
|
correction_of_row_index
|
integer or null |
Zero-based reversal row; pair with correction_of_remittance_id.
value 0–999
|
reverses_remittance_id
|
string or null |
Required for CLP22; exact posted original remittance
|
reverses_row_index
|
integer or null |
Zero-based original posted claim row required for CLP22
value 0–999
|
original_text
required
|
string or null |
|
payer_id
required
|
string (uuid) |
|
source_history_id
required
|
string or null |
|
status
required
|
any |
one of staged, reconciled, posted, reversed, rejected
|
trace
required
|
string |
length ≤ 150
|
version
required
|
integer |
value ≥ 1
|
Example response placeholder values
{
"automation": {
"created_at": "2026-01-15T15:30:00Z",
"issues": [
"string"
],
"report_id": "00000000-0000-4000-8000-000000000000"
},
"batch_id": "00000000-0000-4000-8000-000000000000",
"issues": [
"string"
],
"postings": [
{
"current_account_balance_cents": 1
}
],
"ready_to_post": true,
"remittance": {
"document": {
"claims": [
{
"adjustments": null,
"charged_cents": null,
"control_number": null,
"paid_cents": null,
"patient_name": null,
"patient_responsibility_cents": null,
"payer_control_number": null,
"services": null,
"status": null
}
],
"currency": "string",
"payer_code": "string",
"payment_date": "2026-01-15",
"total_paid_cents": -1000000000,
"trace": "string",
"issues": [
"string"
],
"payer_identity": {
"additional_payer_id": "string",
"n1_identifier": "string",
"n1_qualifier": "string"
}
},
"document_hash": "string",
"id": "00000000-0000-4000-8000-000000000000",
"matches": [
{
"account_version": 1,
"claim_id": "00000000-0000-4000-8000-000000000000",
"claim_version": 1,
"row_index": 0,
"writeoff_adjustments": [],
"correction_of_remittance_id": "00000000-0000-4000-8000-000000000000",
"correction_of_row_index": 0,
"reverses_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"original_text": "string",
"payer_id": "00000000-0000-4000-8000-000000000000",
"source_history_id": "00000000-0000-4000-8000-000000000000",
"status": "staged",
"trace": "string",
"version": 1
}
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/remittances/{id}" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Action remittance
POST
/api/v1/billing/remittances/{id}/actions
Versioned local lifecycle event. Claim external events require reference and nonfuture date. ERA post atomically writes ledger, claim and audit history; reverse appends offsetting evidence. No payment or clearinghouse transport.
Access
OAuth 2.0 access tokenbilling.write
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
If-Match
required
|
header |
string |
Quoted current account version for claim creation; current claim or remittance version for subsequent mutations |
Request body
application/json · required
Fields ClaimRemittanceAction · 5
| Field |
Type |
Details |
action
required
|
any |
withdraw_crossover only withdraws submitted/accepted/rejected crossover tracking without an active ERA head or non-void descendant; history remains. Normal outbound/manual submission events are refused for tracking records.
one of ready, void_draft, record_submission, record_acceptance, record_rejection, post, reject, reverse, withdraw_crossover
|
reason
required
|
string |
length 1–1000
|
event_date
|
string or null |
|
payer_control_number
|
string |
length ≤ 150
|
reference
|
string |
length ≤ 200
|
Example request body placeholder values
{
"action": "ready",
"reason": "string",
"event_date": "2026-01-15",
"payer_control_number": "string",
"reference": "string"
}
Responses
-
200
Success
application/json
-
Fields Remittance · 55
| Field |
Type |
Details |
document
required
|
EraDocument |
At least one claim or provider adjustment. USD BPR equals summed CLP paid cents minus signed PLB cents. Provider-only settlements and exact-original negative CLP22 supported; unsupported profiles remain held.
|
claims
required
|
array of EraClaim |
items 0–1000
|
adjustments
required
|
array of EraAdjustment |
items ≤ 100
|
amount_cents
required
|
integer |
value -1000000000–1000000000
|
group
required
|
string |
one of CO, PR, OA, PI, CRlength ≤ 5
|
reason_code
required
|
string |
length ≤ 20
|
service_index
required
|
integer or null |
value ≥ 0
|
charged_cents
required
|
integer |
value -1000000000–1000000000
|
control_number
required
|
string |
length ≤ 100
|
paid_cents
required
|
integer |
value -1000000000–1000000000
|
patient_name
required
|
string |
length ≤ 300
|
patient_responsibility_cents
required
|
integer |
value -1000000000–1000000000
|
payer_control_number
required
|
string |
length ≤ 150
|
services
required
|
array of EraService |
items ≤ 100
|
charged_cents
required
|
integer |
value -1000000000–1000000000
|
code
required
|
string |
length ≤ 200
|
line_control
required
|
string |
length ≤ 100
|
paid_cents
required
|
integer |
value -1000000000–1000000000
|
status
required
|
string |
Supported ordinary statuses 1,2,3,4,19,20,21; 22 is an exact-original signed reversal requiring a reviewed source posting.
length ≤ 10
|
currency
required
|
string |
length ≤ 10
|
payer_code
required
|
string |
length ≤ 100
|
payment_date
required
|
string (date) |
|
total_paid_cents
required
|
integer |
value -1000000000–1000000000
|
trace
required
|
string |
length ≤ 150
|
issues
|
array of string |
items ≤ 100000
|
payer_identity
|
EraPayerIdentity or null |
Omitted for historical normalized documents; existing evidence and hashes are not rewritten.
|
provider_adjustments
|
array of ProviderAdjustment |
default []items ≤ 1000
|
amount_cents
required
|
integer |
Signed PLB source amount. Positive decreases provider settlement cash; negative increases it.
value -1000000000–1000000000
|
fiscal_date
required
|
string (date) |
|
provider_id
required
|
string |
length 1–100
|
reason_code
required
|
string |
length 1–5
|
reference
required
|
string |
length ≤ 150
|
supplemental
|
array of EraSupplementalEvidence |
default []items ≤ 100000
|
claim_index
required
|
integer or null |
value 0–999
|
elements
required
|
array of string |
items 1–24
|
segment
required
|
any |
one of AMT, QTY, TS2, TS3, MIA, MOA
|
service_index
required
|
integer or null |
value 0–99
|
document_hash
required
|
string |
length ≤ 64
|
id
required
|
string (uuid) |
|
matches
required
|
array of EraMatch |
items ≤ 1000
|
account_version
required
|
integer |
value ≥ 1
|
claim_id
required
|
string (uuid) |
|
claim_version
required
|
integer |
value ≥ 1
|
row_index
required
|
integer |
value 0–999
|
writeoff_adjustments
required
|
array of integer |
items ≤ 100
|
correction_of_remittance_id
|
string or null |
Explicit positive-correction source: the active exact reversal remittance, including an earlier transaction in the same batch.
|
correction_of_row_index
|
integer or null |
Zero-based reversal row; pair with correction_of_remittance_id.
value 0–999
|
reverses_remittance_id
|
string or null |
Required for CLP22; exact posted original remittance
|
reverses_row_index
|
integer or null |
Zero-based original posted claim row required for CLP22
value 0–999
|
original_text
required
|
string or null |
|
payer_id
required
|
string (uuid) |
|
source_history_id
required
|
string or null |
|
status
required
|
any |
one of staged, reconciled, posted, reversed, rejected
|
trace
required
|
string |
length ≤ 150
|
version
required
|
integer |
value ≥ 1
|
Example response placeholder values
{
"document": {
"claims": [
{
"adjustments": [],
"charged_cents": -1000000000,
"control_number": "string",
"paid_cents": -1000000000,
"patient_name": "string",
"patient_responsibility_cents": -1000000000,
"payer_control_number": "string",
"services": [],
"status": "string"
}
],
"currency": "string",
"payer_code": "string",
"payment_date": "2026-01-15",
"total_paid_cents": -1000000000,
"trace": "string",
"issues": [
"string"
],
"payer_identity": {
"additional_payer_id": "string",
"n1_identifier": "string",
"n1_qualifier": "string"
}
},
"document_hash": "string",
"id": "00000000-0000-4000-8000-000000000000",
"matches": [
{
"account_version": 1,
"claim_id": "00000000-0000-4000-8000-000000000000",
"claim_version": 1,
"row_index": 0,
"writeoff_adjustments": [
0
],
"correction_of_remittance_id": "00000000-0000-4000-8000-000000000000",
"correction_of_row_index": 0,
"reverses_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"original_text": "string",
"payer_id": "00000000-0000-4000-8000-000000000000",
"source_history_id": "00000000-0000-4000-8000-000000000000",
"status": "staged",
"trace": "string",
"version": 1
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X POST "$EHR_URL/api/v1/billing/remittances/{id}/actions" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
History remittance
GET
/api/v1/billing/remittances/{id}/history
Read append-only attributed revision history.
Access
OAuth 2.0 access tokenbilling.read
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
Responses
-
200
Success
application/json
-
Fields BillingHistory · 6
| Field |
Type |
Details |
items
required
|
array of object |
|
actor_id
required
|
string (uuid) |
|
created_at
required
|
string (date-time) |
|
reason
required
|
string |
length 1–1000
|
snapshot
required
|
object |
|
version
required
|
integer |
|
Example response placeholder values
{
"items": [
{
"actor_id": "00000000-0000-4000-8000-000000000000",
"created_at": "2026-01-15T15:30:00Z",
"reason": "string",
"snapshot": {},
"version": 1
}
]
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/remittances/{id}/history" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Match remittance
PUT
/api/v1/billing/remittances/{id}/matches
Explicit exact-control claim matching with captured current claim/account versions. Only selected CO adjustments become credits. PR remains responsibility evidence. All rows and balances rechecked on posting.
Access
OAuth 2.0 access tokenbilling.write
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
If-Match
required
|
header |
string |
Quoted current account version for claim creation; current claim or remittance version for subsequent mutations |
Request body
application/json · required
Fields EraMatches · 11
| Field |
Type |
Details |
matches
required
|
array of EraMatch |
items ≤ 1000
|
account_version
required
|
integer |
value ≥ 1
|
claim_id
required
|
string (uuid) |
|
claim_version
required
|
integer |
value ≥ 1
|
row_index
required
|
integer |
value 0–999
|
writeoff_adjustments
required
|
array of integer |
items ≤ 100
|
correction_of_remittance_id
|
string or null |
Explicit positive-correction source: the active exact reversal remittance, including an earlier transaction in the same batch.
|
correction_of_row_index
|
integer or null |
Zero-based reversal row; pair with correction_of_remittance_id.
value 0–999
|
reverses_remittance_id
|
string or null |
Required for CLP22; exact posted original remittance
|
reverses_row_index
|
integer or null |
Zero-based original posted claim row required for CLP22
value 0–999
|
reason
required
|
string |
length 1–1000
|
Example request body placeholder values
{
"matches": [
{
"account_version": 1,
"claim_id": "00000000-0000-4000-8000-000000000000",
"claim_version": 1,
"row_index": 0,
"writeoff_adjustments": [
0
],
"correction_of_remittance_id": "00000000-0000-4000-8000-000000000000",
"correction_of_row_index": 0,
"reverses_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"reason": "string"
}
Responses
-
200
Success
application/json
-
Fields EraMatchResult · 49
| Field |
Type |
Details |
issues
required
|
array of string |
|
remittance
required
|
Remittance |
|
document
required
|
EraDocument |
At least one claim or provider adjustment. USD BPR equals summed CLP paid cents minus signed PLB cents. Provider-only settlements and exact-original negative CLP22 supported; unsupported profiles remain held.
|
claims
required
|
array of EraClaim |
items 0–1000
|
adjustments
required
|
array of EraAdjustment |
items ≤ 100
|
charged_cents
required
|
integer |
value -1000000000–1000000000
|
control_number
required
|
string |
length ≤ 100
|
paid_cents
required
|
integer |
value -1000000000–1000000000
|
patient_name
required
|
string |
length ≤ 300
|
patient_responsibility_cents
required
|
integer |
value -1000000000–1000000000
|
payer_control_number
required
|
string |
length ≤ 150
|
services
required
|
array of EraService |
items ≤ 100
|
status
required
|
string |
Supported ordinary statuses 1,2,3,4,19,20,21; 22 is an exact-original signed reversal requiring a reviewed source posting.
length ≤ 10
|
currency
required
|
string |
length ≤ 10
|
payer_code
required
|
string |
length ≤ 100
|
payment_date
required
|
string (date) |
|
total_paid_cents
required
|
integer |
value -1000000000–1000000000
|
trace
required
|
string |
length ≤ 150
|
issues
|
array of string |
items ≤ 100000
|
payer_identity
|
EraPayerIdentity or null |
Omitted for historical normalized documents; existing evidence and hashes are not rewritten.
|
provider_adjustments
|
array of ProviderAdjustment |
default []items ≤ 1000
|
amount_cents
required
|
integer |
Signed PLB source amount. Positive decreases provider settlement cash; negative increases it.
value -1000000000–1000000000
|
fiscal_date
required
|
string (date) |
|
provider_id
required
|
string |
length 1–100
|
reason_code
required
|
string |
length 1–5
|
reference
required
|
string |
length ≤ 150
|
supplemental
|
array of EraSupplementalEvidence |
default []items ≤ 100000
|
claim_index
required
|
integer or null |
value 0–999
|
elements
required
|
array of string |
items 1–24
|
segment
required
|
any |
one of AMT, QTY, TS2, TS3, MIA, MOA
|
service_index
required
|
integer or null |
value 0–99
|
document_hash
required
|
string |
length ≤ 64
|
id
required
|
string (uuid) |
|
matches
required
|
array of EraMatch |
items ≤ 1000
|
account_version
required
|
integer |
value ≥ 1
|
claim_id
required
|
string (uuid) |
|
claim_version
required
|
integer |
value ≥ 1
|
row_index
required
|
integer |
value 0–999
|
writeoff_adjustments
required
|
array of integer |
items ≤ 100
|
correction_of_remittance_id
|
string or null |
Explicit positive-correction source: the active exact reversal remittance, including an earlier transaction in the same batch.
|
correction_of_row_index
|
integer or null |
Zero-based reversal row; pair with correction_of_remittance_id.
value 0–999
|
reverses_remittance_id
|
string or null |
Required for CLP22; exact posted original remittance
|
reverses_row_index
|
integer or null |
Zero-based original posted claim row required for CLP22
value 0–999
|
original_text
required
|
string or null |
|
payer_id
required
|
string (uuid) |
|
source_history_id
required
|
string or null |
|
status
required
|
any |
one of staged, reconciled, posted, reversed, rejected
|
trace
required
|
string |
length ≤ 150
|
version
required
|
integer |
value ≥ 1
|
Example response placeholder values
{
"issues": [
"string"
],
"remittance": {
"document": {
"claims": [
{
"adjustments": null,
"charged_cents": null,
"control_number": null,
"paid_cents": null,
"patient_name": null,
"patient_responsibility_cents": null,
"payer_control_number": null,
"services": null,
"status": null
}
],
"currency": "string",
"payer_code": "string",
"payment_date": "2026-01-15",
"total_paid_cents": -1000000000,
"trace": "string",
"issues": [
"string"
],
"payer_identity": {
"additional_payer_id": "string",
"n1_identifier": "string",
"n1_qualifier": "string"
}
},
"document_hash": "string",
"id": "00000000-0000-4000-8000-000000000000",
"matches": [
{
"account_version": 1,
"claim_id": "00000000-0000-4000-8000-000000000000",
"claim_version": 1,
"row_index": 0,
"writeoff_adjustments": [],
"correction_of_remittance_id": "00000000-0000-4000-8000-000000000000",
"correction_of_row_index": 0,
"reverses_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"original_text": "string",
"payer_id": "00000000-0000-4000-8000-000000000000",
"source_history_id": "00000000-0000-4000-8000-000000000000",
"status": "staged",
"trace": "string",
"version": 1
}
}
-
400
Invalid values or unsupported shape
-
401
Sign in required
-
403
Role or billing scope denied
-
404
Tenant/patient scoped record not found
-
409
Stale review, duplicate evidence, incompatible lifecycle or unsafe balance
-
428
Current quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X PUT "$EHR_URL/api/v1/billing/remittances/{id}/matches" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
#
Provider settlement detail
GET
/api/v1/billing/remittances/{id}/provider-adjustments
Tenant-scoped PLB originals, classifications, immutable reviews and provider cash entries. No patient debt allocation.
Access
OAuth 2.0 access tokenbilling.read
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
Responses
-
200
Success
application/json
-
Fields ProviderSettlementDetail · 35
| Field |
Type |
Details |
adjustments
required
|
array of ProviderAdjustment |
|
amount_cents
required
|
integer |
Signed PLB source amount. Positive decreases provider settlement cash; negative increases it.
value -1000000000–1000000000
|
fiscal_date
required
|
string (date) |
|
provider_id
required
|
string |
length 1–100
|
reason_code
required
|
string |
length 1–5
|
reference
required
|
string |
length ≤ 150
|
entries
required
|
array of object |
|
actor_id
|
string (uuid) |
|
category
|
string |
|
created_at
|
string (date-time) |
|
effect_cents
|
integer |
|
evidence
|
object |
|
id
|
string (uuid) |
|
payer_id
|
string (uuid) |
|
provider_id
|
string |
|
reason
|
string |
|
remittance_id
|
string (uuid) |
|
reverses_id
|
string or null |
|
row_index
|
integer |
|
reviews
required
|
array of object |
|
actor_id
|
string (uuid) |
|
created_at
|
string (date-time) |
|
decisions
|
array of ProviderSettlementDecision |
|
category
required
|
string |
one of forward_balance, recoupment, overpayment_offset, refund, interest, other
|
index
required
|
integer |
value 0–999
|
original_remittance_id
|
string or null |
|
reason
|
string |
|
remittance_id
|
string (uuid) |
|
version
|
integer |
|
status
required
|
string |
|
suggested_classifications
required
|
array of ProviderSettlementDecision |
|
category
required
|
string |
one of forward_balance, recoupment, overpayment_offset, refund, interest, other
|
index
required
|
integer |
value 0–999
|
original_remittance_id
|
string or null |
|
version
required
|
integer |
|
Example response placeholder values
{
"adjustments": [
{
"amount_cents": -1000000000,
"fiscal_date": "2026-01-15",
"provider_id": "string",
"reason_code": "string",
"reference": "string"
}
],
"entries": [
{
"actor_id": "00000000-0000-4000-8000-000000000000",
"category": "string",
"created_at": "2026-01-15T15:30:00Z",
"effect_cents": 1,
"evidence": {},
"id": "00000000-0000-4000-8000-000000000000",
"payer_id": "00000000-0000-4000-8000-000000000000",
"provider_id": "string"
}
],
"reviews": [
{
"actor_id": "00000000-0000-4000-8000-000000000000",
"created_at": "2026-01-15T15:30:00Z",
"decisions": [
{
"category": "forward_balance",
"index": null,
"original_remittance_id": null
}
],
"reason": "string",
"remittance_id": "00000000-0000-4000-8000-000000000000",
"version": 1
}
],
"status": "string",
"suggested_classifications": [
{
"category": "forward_balance",
"index": 0,
"original_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"version": 1
}
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl "$EHR_URL/api/v1/billing/remittances/{id}/provider-adjustments" -H "Authorization: Bearer $ACCESS_TOKEN"
#
Review provider settlement
PUT
/api/v1/billing/remittances/{id}/provider-adjustments
Staff write-role review of every PLB pair with source code/sign classification and optional exact posted payer/provider reference. Current remittance If-Match and reason required. Leaves settlement staged until claim reconciliation. No posting.
Access
OAuth 2.0 access tokenbilling.write
Parameters
| Name |
In |
Type |
Details |
id
required
|
path |
string (uuid) |
|
If-Match
required
|
header |
string |
Quoted current connection or report version. |
Request body
application/json · required
Fields ProviderSettlementReview · 5
| Field |
Type |
Details |
decisions
required
|
array of ProviderSettlementDecision |
items ≤ 1000
|
category
required
|
string |
one of forward_balance, recoupment, overpayment_offset, refund, interest, other
|
index
required
|
integer |
value 0–999
|
original_remittance_id
|
string or null |
|
reason
required
|
string |
length 1–1000
|
Example request body placeholder values
{
"decisions": [
{
"category": "forward_balance",
"index": 0,
"original_remittance_id": "00000000-0000-4000-8000-000000000000"
}
],
"reason": "string"
}
Responses
-
200
Success
application/json
-
Body: object
-
400
Invalid or unsupported EDI profile/field/acknowledgment
-
401
Authentication required
-
403
Role or billing scope denied
-
404
Tenant scoped record not found
-
409
Duplicate evidence, stale version, changed claim or incompatible state
-
428
Quoted If-Match required
-
500
Database/audit failure; transaction rolled back
Example call
curl -X PUT "$EHR_URL/api/v1/billing/remittances/{id}/provider-adjustments" -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" -d @body.json
No endpoint matches that filter.