Verifies source evidence before replaying the requested checkpoint. JSON returns report, journal, journal_date_basis and withholding_reviews without a success/data envelope. Journal dates use the agreement timezone. csv selects a downloadable report. as_of must be in the past; it is not a date-only filter.
Responses
{
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"journal": {
"items": {
"properties": {
"accounting_date": {
"type": "string"
},
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"bank_reference": {
"type": "string"
},
"basis": {
"type": "string"
},
"command_id": {
"type": "string"
},
"credit_account": {
"type": "string"
},
"credit_role": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debit_account": {
"type": "string"
},
"debit_role": {
"type": "string"
},
"effective_at": {
"type": "integer"
},
"mapping_version": {
"type": "integer"
},
"obligation_id": {
"type": "string"
},
"party": {
"type": "string"
},
"payment_id": {
"type": "string"
},
"recorded_at": {
"type": "integer"
},
"source_ref": {
"type": "string"
},
"value_date": {
"type": "string"
},
"withholding_settlement_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"journal_date_basis": {
"type": "string"
},
"report": {
"properties": {
"appearances": {
"anyOf": [
{
"items": {
"properties": {
"creditor_jurisdiction": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debtor_jurisdiction": {
"type": "string"
},
"disposition": {
"type": "string"
},
"effective_set_off": {
"type": "integer"
},
"missing_character": {
"type": "boolean"
},
"obligation": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
},
"policy_hash": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"policy_source": {
"type": "string"
},
"policy_version": {
"type": "integer"
},
"rule": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"coverage": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"character": {
"type": "string"
},
"count": {
"type": "integer"
},
"credit": {
"type": "boolean"
},
"creditor_jurisdiction": {
"type": "string"
},
"debtor_jurisdiction": {
"type": "string"
},
"disposition": {
"type": "string"
},
"source": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"cycles": {
"anyOf": [
{
"items": {
"properties": {
"accepted_rates": {
"anyOf": [
{
"items": {
"properties": {
"base": {
"type": "string"
},
"contributors": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"quote": {
"type": "string"
},
"rate": {
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"balances": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"closing": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"net": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"opening": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"party": {
"type": "string"
},
"scale": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"blocked": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"checks": {
"anyOf": [
{
"items": {
"properties": {
"detail": {
"type": "string"
},
"label": {
"type": "string"
},
"passed": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"conversions": {
"anyOf": [
{
"items": {
"properties": {
"from": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"obligation_id": {
"type": "string"
},
"rate_index": {
"type": "integer"
},
"to": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"converted_opening": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"party": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"cycle_id": {
"type": "string"
},
"deferred": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"deferred_cnt": {
"type": "integer"
},
"exact": {
"type": "boolean"
},
"group_id": {
"type": "string"
},
"jurisdiction": {
"type": "string"
},
"legal_basis": {
"type": "string"
},
"members": {
"anyOf": [
{
"items": {
"properties": {
"currencies": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"lei": {
"type": "string"
},
"party": {
"type": "string"
},
"tax_id": {
"type": "string"
},
"tax_jurisdiction": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"method": {
"type": "string"
},
"netting_agreement_ref": {
"type": "string"
},
"obligations": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"opening": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"party": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"positions": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"party": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"prev_cycle_leaf_ref": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"rate_policy": {
"anyOf": [
{
"properties": {
"aggregation": {
"type": "string"
},
"author": {
"type": "string"
},
"band_bps": {
"type": "integer"
},
"convert_currencies": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"fx_bearer": {
"type": "string"
},
"group_id": {
"type": "string"
},
"k": {
"type": "integer"
},
"sources": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"target_asset": {
"type": "string"
},
"target_scale": {
"type": "integer"
},
"version": {
"type": "integer"
},
"window_ms": {
"type": "integer"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"rate_set": {
"anyOf": [
{
"items": {
"properties": {
"rate_assertion_body": {
"properties": {
"as_of": {
"type": "integer"
},
"base": {
"type": "string"
},
"quote": {
"type": "string"
},
"rate": {
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"rate_source": {
"type": "string"
}
},
"type": "object"
},
"sig": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"request_hash": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"residuals": {
"anyOf": [
{
"items": {
"properties": {
"carried": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"cycle": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"scale": {
"type": "integer"
},
"target_asset": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"resolved_at": {
"type": "integer"
},
"routed_gross": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"savings": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"gross": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"net_funding": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"scale": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"settled": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"settled_cnt": {
"type": "integer"
},
"tax_policy": {
"anyOf": [
{
"properties": {
"author": {
"type": "string"
},
"default": {
"type": "string"
},
"group_id": {
"type": "string"
},
"rules": {
"anyOf": [
{
"items": {
"properties": {
"character": {
"type": "string"
},
"creditor_jur": {
"type": "string"
},
"debtor_jur": {
"type": "string"
},
"disposition": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"version": {
"type": "integer"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"treasury": {
"anyOf": [
{
"properties": {
"dispositions": {
"anyOf": [
{
"items": {
"properties": {
"disposition": {
"type": "string"
},
"id": {
"type": "string"
},
"limits": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer"
},
"rule": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"input": {
"properties": {
"agreement": {
"properties": {
"allow_early": {
"type": "boolean"
},
"author": {
"type": "string"
},
"calendar": {
"anyOf": [
{
"properties": {
"cutoff_time": {
"type": "string"
},
"holidays": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"run_time": {
"type": "string"
},
"source_ref": {
"type": "string"
},
"weekdays": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"group_id": {
"type": "string"
},
"mode": {
"type": "string"
},
"rate_policy": {
"anyOf": [
{
"properties": {
"aggregation": {
"type": "string"
},
"author": {
"type": "string"
},
"band_bps": {
"type": "integer"
},
"convert_currencies": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"fx_bearer": {
"type": "string"
},
"group_id": {
"type": "string"
},
"k": {
"type": "integer"
},
"sources": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"target_asset": {
"type": "string"
},
"target_scale": {
"type": "integer"
},
"version": {
"type": "integer"
},
"window_ms": {
"type": "integer"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"rate_sources": {
"anyOf": [
{
"items": {
"properties": {
"id": {
"type": "string"
},
"public_key": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"reference": {
"type": "string"
},
"timezone": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"type": "object"
},
"candidates": {
"anyOf": [
{
"items": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"cutoff_override_ref": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"evaluated_at": {
"type": "integer"
},
"funding_as_of": {
"type": "integer"
},
"funding_ref": {
"type": "string"
},
"limits": {
"anyOf": [
{
"properties": {
"author": {
"type": "string"
},
"rules": {
"anyOf": [
{
"items": {
"properties": {
"ceiling": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"on_breach": {
"type": "string"
},
"party_a": {
"type": "string"
},
"party_b": {
"type": "string"
},
"scope": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"source_ref": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"members": {
"anyOf": [
{
"items": {
"properties": {
"currencies": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"lei": {
"type": "string"
},
"party": {
"type": "string"
},
"tax_id": {
"type": "string"
},
"tax_jurisdiction": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"opening": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"party": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"outstanding_checkpoint": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"prior_residuals": {
"anyOf": [
{
"items": {
"properties": {
"carried": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"cycle": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"scale": {
"type": "integer"
},
"target_asset": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"rates": {
"anyOf": [
{
"items": {
"properties": {
"rate_assertion_body": {
"properties": {
"as_of": {
"type": "integer"
},
"base": {
"type": "string"
},
"quote": {
"type": "string"
},
"rate": {
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"rate_source": {
"type": "string"
}
},
"type": "object"
},
"sig": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"tax_policy": {
"properties": {
"author": {
"type": "string"
},
"characters": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"default": {
"type": "string"
},
"rules": {
"anyOf": [
{
"items": {
"properties": {
"character": {
"type": "string"
},
"creditor": {
"type": "string"
},
"creditor_jur": {
"type": "string"
},
"debtor": {
"type": "string"
},
"debtor_jur": {
"type": "string"
},
"disposition": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"source_ref": {
"type": "string"
},
"sources": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"version": {
"type": "integer"
}
},
"type": "object"
},
"tenant": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"value_date": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"type": "object"
},
"position_conversions": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"position": {
"properties": {
"asset": {
"type": "string"
},
"party": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"rate_index": {
"type": "integer"
},
"remainder_numerator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"remainder_scale": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"rounding_transfers": {
"anyOf": [
{
"items": {
"properties": {
"currency": {
"type": "string"
},
"position": {
"properties": {
"asset": {
"type": "string"
},
"party": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"exceptions": {
"anyOf": [
{
"items": {
"properties": {
"cancelled_at": {
"type": "integer"
},
"cycle_id": {
"type": "string"
},
"disposition": {
"type": "string"
},
"obligation": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
},
"policy_version": {
"type": "integer"
},
"review": {
"anyOf": [
{
"properties": {
"next_action": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"owner": {
"type": "string"
},
"reason": {
"type": "string"
},
"revision": {
"type": "integer"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"rule": {
"type": "integer"
},
"set_off_at": {
"type": "integer"
},
"withholding_settlement_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"gross_register": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"character": {
"type": "string"
},
"count": {
"type": "integer"
},
"credit": {
"type": "boolean"
},
"creditor_jurisdiction": {
"type": "string"
},
"debtor_jurisdiction": {
"type": "string"
},
"disposition": {
"type": "string"
},
"source": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"head": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"original_credits": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"count": {
"type": "integer"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"original_gross": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"count": {
"type": "integer"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"outstanding": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"component": {
"type": "string"
},
"creditor": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debtor": {
"type": "string"
},
"due_date": {
"type": "string"
},
"id": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"paid": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"source_asset": {
"type": "string"
},
"withholding_settlement_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"policies": {
"anyOf": [
{
"additionalProperties": {
"properties": {
"author": {
"type": "string"
},
"characters": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"default": {
"type": "string"
},
"rules": {
"anyOf": [
{
"items": {
"properties": {
"character": {
"type": "string"
},
"creditor": {
"type": "string"
},
"creditor_jur": {
"type": "string"
},
"debtor": {
"type": "string"
},
"debtor_jur": {
"type": "string"
},
"disposition": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"source_ref": {
"type": "string"
},
"sources": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"version": {
"type": "integer"
}
},
"type": "object"
},
"type": "object"
},
{
"type": "null"
}
]
},
"query": {
"properties": {
"as_of": {
"type": "integer"
},
"character": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"disposition": {
"type": "string"
},
"entity": {
"type": "string"
},
"from": {
"type": "string"
},
"missing_character": {
"type": "boolean"
},
"obligation_id": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": "object"
},
"selected_original_credits": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"count": {
"type": "integer"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"selected_original_gross": {
"anyOf": [
{
"items": {
"properties": {
"asset": {
"type": "string"
},
"count": {
"type": "integer"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"statement_entries": {
"anyOf": [
{
"items": {
"properties": {
"account": {
"properties": {
"currency": {
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
}
},
"type": "object"
},
"decision": {
"anyOf": [
{
"properties": {
"decision": {
"type": "string"
},
"entry_index": {
"type": "integer"
},
"payment_id": {
"type": "string"
},
"reason": {
"type": "string"
},
"reverses": {
"type": "string"
},
"statement_id": {
"type": "string"
},
"statement_index": {
"type": "integer"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"entry": {
"properties": {
"acct_svcr_ref": {
"type": "string"
},
"addtl_info": {
"type": "string"
},
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"booking_date": {
"type": "string"
},
"direction": {
"type": "string"
},
"entry_ref": {
"type": "string"
},
"references": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"reversal": {
"type": "boolean"
},
"status": {
"type": "string"
},
"tx_count": {
"type": "integer"
},
"value_date": {
"type": "string"
}
},
"type": "object"
},
"entry_index": {
"type": "integer"
},
"reference": {
"type": "string"
},
"statement_id": {
"type": "string"
},
"statement_index": {
"type": "integer"
},
"suggested_payment_i_ds": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"tax_legs": {
"anyOf": [
{
"items": {
"properties": {
"creditor_jurisdiction": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debtor_jurisdiction": {
"type": "string"
},
"disposition": {
"type": "string"
},
"effective_set_off": {
"type": "integer"
},
"missing_character": {
"type": "boolean"
},
"obligation": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
},
"policy_hash": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"policy_source": {
"type": "string"
},
"policy_version": {
"type": "integer"
},
"rule": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"withholding": {
"anyOf": [
{
"items": {
"properties": {
"assessment": {
"anyOf": [
{
"properties": {
"calculation": {
"properties": {
"gross_up": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"missing": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"original": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"payer_funding": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"recipient": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"remainder_denominator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"remainder_numerator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"taxable_base": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"withheld": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"determination": {
"properties": {
"beneficial_owner_ref": {
"type": "string"
},
"determination_ref": {
"type": "string"
},
"determined_by": {
"type": "string"
},
"eligibility_ref": {
"type": "string"
},
"method": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"rate": {
"anyOf": [
{
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"rate_basis": {
"type": "string"
},
"recipient_residence": {
"type": "string"
},
"residence_ref": {
"type": "string"
},
"revision": {
"type": "integer"
},
"rounding": {
"type": "string"
},
"rule_ref": {
"type": "string"
},
"source_jurisdiction": {
"type": "string"
},
"tax_authority_ref": {
"type": "string"
},
"tax_date": {
"type": "string"
},
"tax_point": {
"type": "string"
},
"taxable_base": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"valid_from": {
"type": "string"
},
"valid_through": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"obligation": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
},
"recorded_at": {
"type": "integer"
},
"requester": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"reviewer": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"calculation": {
"properties": {
"gross_up": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"missing": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"original": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"payer_funding": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"recipient": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"remainder_denominator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"remainder_numerator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"taxable_base": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"withheld": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"disposition": {
"type": "string"
},
"obligation": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"withholding_settlements": {
"anyOf": [
{
"items": {
"properties": {
"recipient": {
"anyOf": [
{
"properties": {
"confirmations": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"payment_id": {
"type": "string"
},
"reference": {
"type": "string"
},
"reverses": {
"type": "string"
},
"source_ref": {
"type": "string"
},
"value_date": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"instructions": {
"anyOf": [
{
"items": {
"properties": {
"cancellation": {
"anyOf": [
{
"properties": {
"payment_id": {
"type": "string"
},
"reason": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"confirmed": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"execution": {
"anyOf": [
{
"properties": {
"funding_hold": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"bank_request_id": {
"type": "string"
},
"expiry": {
"type": "integer"
},
"hold_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"obligor": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"sig": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"funding_ref": {
"type": "string"
},
"instruction": {
"anyOf": [
{
"properties": {
"atomicity": {
"type": "string"
},
"bank_request_id": {
"type": "string"
},
"conversion_leaf_ref": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"cycle_id": {
"type": "string"
},
"cycle_leaf_ref": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"invoice_ref": {
"type": "string"
},
"legs": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"detail": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"counterparty": {
"type": "string"
},
"rail": {
"type": "string"
},
"recipient_account": {
"type": "string"
},
"token": {
"type": "string"
},
"token_chain_id": {
"type": "integer"
},
"token_symbol": {
"type": "string"
},
"venue": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"finality_class": {
"type": "string"
},
"form": {
"type": "string"
},
"id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"locked_rate": {
"anyOf": [
{
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"obligor": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"rate_source": {
"type": "string"
},
"role": {
"type": "string"
},
"seq": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"settlement_kind": {
"type": "string"
},
"tenant": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"payment_id": {
"type": "string"
},
"route": {
"type": "string"
},
"settlement_id": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"execution_at": {
"type": "integer"
},
"instruction": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"debtor_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"execution_date": {
"type": "string"
},
"id": {
"type": "string"
},
"payable_id": {
"type": "string"
}
},
"type": "object"
},
"route": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"payable": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"component": {
"type": "string"
},
"creditor": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debtor": {
"type": "string"
},
"due_date": {
"type": "string"
},
"id": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"paid": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"source_asset": {
"type": "string"
},
"withholding_settlement_id": {
"type": "string"
}
},
"type": "object"
},
"remaining": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"settlement": {
"properties": {
"assessment": {
"properties": {
"calculation": {
"properties": {
"gross_up": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"missing": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"original": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"payer_funding": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"recipient": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"remainder_denominator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"remainder_numerator": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"taxable_base": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"withheld": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"determination": {
"properties": {
"beneficial_owner_ref": {
"type": "string"
},
"determination_ref": {
"type": "string"
},
"determined_by": {
"type": "string"
},
"eligibility_ref": {
"type": "string"
},
"method": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"rate": {
"anyOf": [
{
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"rate_basis": {
"type": "string"
},
"recipient_residence": {
"type": "string"
},
"residence_ref": {
"type": "string"
},
"revision": {
"type": "integer"
},
"rounding": {
"type": "string"
},
"rule_ref": {
"type": "string"
},
"source_jurisdiction": {
"type": "string"
},
"tax_authority_ref": {
"type": "string"
},
"tax_date": {
"type": "string"
},
"tax_point": {
"type": "string"
},
"taxable_base": {
"anyOf": [
{
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"valid_from": {
"type": "string"
},
"valid_through": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"obligation": {
"properties": {
"correction_reason": {
"type": "string"
},
"correction_ref": {
"type": "string"
},
"credit_note_for": {
"type": "string"
},
"due_date": {
"type": "string"
},
"external_payee_ref": {
"type": "string"
},
"first_seen": {
"type": "integer"
},
"invoice_date": {
"type": "string"
},
"leg": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor": {
"type": "string"
},
"debtor": {
"type": "string"
},
"id": {
"type": "string"
},
"priority": {
"type": "integer"
},
"tax": {
"anyOf": [
{
"properties": {
"character": {
"type": "string"
},
"character_ref": {
"type": "string"
},
"character_src": {
"type": "string"
},
"invoice_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"revision": {
"type": "integer"
},
"source": {
"type": "string"
},
"source_id": {
"type": "string"
}
},
"type": "object"
},
"recorded_at": {
"type": "integer"
},
"requester": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"reviewer": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
"cancellation": {
"anyOf": [
{
"properties": {
"accounting_date": {
"type": "string"
},
"reason": {
"type": "string"
},
"settlement_id": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"cancelled_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"original_payable": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"component": {
"type": "string"
},
"creditor": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debtor": {
"type": "string"
},
"due_date": {
"type": "string"
},
"id": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"paid": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"source_asset": {
"type": "string"
},
"withholding_settlement_id": {
"type": "string"
}
},
"type": "object"
},
"plan": {
"properties": {
"accounting": {
"properties": {
"date": {
"type": "string"
},
"payer_cash": {
"type": "string"
},
"payer_gross_up_expense": {
"type": "string"
},
"payer_payable": {
"type": "string"
},
"payer_tax_payable": {
"type": "string"
},
"recipient_cash": {
"type": "string"
},
"recipient_gross_up_income": {
"type": "string"
},
"recipient_receivable": {
"type": "string"
},
"recipient_withheld_tax": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"assessment_id": {
"type": "string"
},
"debtor_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"recipient_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"recipient_due_date": {
"type": "string"
},
"tax_authority_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"tax_due_date": {
"type": "string"
},
"tax_payment_reference": {
"type": "string"
}
},
"type": "object"
},
"recipient_payable_id": {
"type": "string"
},
"recorded_at": {
"type": "integer"
},
"requester": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"reviewer": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"tax_payable_id": {
"type": "string"
}
},
"type": "object"
},
"status": {
"type": "string"
},
"tax": {
"anyOf": [
{
"properties": {
"confirmations": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"payment_id": {
"type": "string"
},
"reference": {
"type": "string"
},
"reverses": {
"type": "string"
},
"source_ref": {
"type": "string"
},
"value_date": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"instructions": {
"anyOf": [
{
"items": {
"properties": {
"cancellation": {
"anyOf": [
{
"properties": {
"payment_id": {
"type": "string"
},
"reason": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"confirmed": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"execution": {
"anyOf": [
{
"properties": {
"funding_hold": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"bank_request_id": {
"type": "string"
},
"expiry": {
"type": "integer"
},
"hold_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"obligor": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"sig": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"funding_ref": {
"type": "string"
},
"instruction": {
"anyOf": [
{
"properties": {
"atomicity": {
"type": "string"
},
"bank_request_id": {
"type": "string"
},
"conversion_leaf_ref": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"cycle_id": {
"type": "string"
},
"cycle_leaf_ref": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
},
"invoice_ref": {
"type": "string"
},
"legs": {
"anyOf": [
{
"items": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"detail": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"counterparty": {
"type": "string"
},
"rail": {
"type": "string"
},
"recipient_account": {
"type": "string"
},
"token": {
"type": "string"
},
"token_chain_id": {
"type": "integer"
},
"token_symbol": {
"type": "string"
},
"venue": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"finality_class": {
"type": "string"
},
"form": {
"type": "string"
},
"id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"locked_rate": {
"anyOf": [
{
"properties": {
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"obligor": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"rate_source": {
"type": "string"
},
"role": {
"type": "string"
},
"seq": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"settlement_kind": {
"type": "string"
},
"tenant": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"payment_id": {
"type": "string"
},
"route": {
"type": "string"
},
"settlement_id": {
"anyOf": [
{
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"execution_at": {
"type": "integer"
},
"instruction": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"creditor_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"debtor_account": {
"properties": {
"asset": {
"type": "string"
},
"bic": {
"type": "string"
},
"finality_class": {
"type": "string"
},
"frame_party_id": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"iban": {
"type": "string"
},
"name": {
"type": "string"
},
"other_id": {
"type": "string"
},
"party": {
"type": "string"
},
"rail": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"execution_date": {
"type": "string"
},
"id": {
"type": "string"
},
"payable_id": {
"type": "string"
}
},
"type": "object"
},
"route": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"payable": {
"properties": {
"amount": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"component": {
"type": "string"
},
"creditor": {
"type": "string"
},
"cycle_id": {
"type": "string"
},
"debtor": {
"type": "string"
},
"due_date": {
"type": "string"
},
"id": {
"type": "string"
},
"obligation_id": {
"type": "string"
},
"paid": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"source_asset": {
"type": "string"
},
"withholding_settlement_id": {
"type": "string"
}
},
"type": "object"
},
"remaining": {
"properties": {
"asset": {
"type": "string"
},
"scale": {
"type": "integer"
},
"units": {
"anyOf": [
{
"description": "Exact decimal integer units.",
"pattern": "^-?[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"tax_date_review_required": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"withholding_reviews": {
"items": {
"properties": {
"assessment_id": {
"type": "string"
},
"can_close": {
"type": "boolean"
},
"facts_hash": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"history": {
"anyOf": [
{
"items": {
"properties": {
"declaration": {
"properties": {
"assessment_id": {
"type": "string"
},
"decision": {
"type": "string"
},
"facts_hash": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"follow_up_date": {
"type": "string"
},
"owner": {
"type": "string"
},
"reason": {
"type": "string"
},
"settlement_id": {
"type": "string"
},
"source_ref": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"recorded_at": {
"type": "integer"
},
"requester": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
},
"reviewer": {
"description": "Hex-encoded bytes.",
"pattern": "^[0-9a-f]*$",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"obligation_id": {
"type": "string"
},
"reasons": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"settlement_id": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"report",
"journal",
"journal_date_basis",
"withholding_reviews"
],
"type": "object"
}
},
"text/csv": {
"schema": {
"description": "CSV attachment selected by csv query parameter.",
"type": "string"
}
}
},
"description": "Successful response. Query a treasury report or CSV export."
},
"400": {
"content": {
"application/json": {
"schema": {
"example": {
"error": "evidence not sealed yet — retry shortly"
},
"properties": {
"error": {
"description": "Human-readable explanation. Do not parse as a stable error code.",
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}
}
},
"description": "Invalid request, malformed identifier, or unmet input requirement."
},
"401": {
"content": {
"application/json": {
"schema": {
"example": {
"error": "evidence not sealed yet — retry shortly"
},
"properties": {
"error": {
"description": "Human-readable explanation. Do not parse as a stable error code.",
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}
}
},
"description": "Missing, expired, or revoked session."
},
"403": {
"content": {
"application/json": {
"schema": {
"example": {
"error": "evidence not sealed yet — retry shortly"
},
"properties": {
"error": {
"description": "Human-readable explanation. Do not parse as a stable error code.",
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}
}
},
"description": "Tenant or capability does not authorize this operation."
},
"404": {
"content": {
"application/json": {
"schema": {
"example": {
"error": "evidence not sealed yet — retry shortly"
},
"properties": {
"error": {
"description": "Human-readable explanation. Do not parse as a stable error code.",
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}
}
},
"description": "Resource not found in the caller scope."
},
"409": {
"content": {
"application/json": {
"schema": {
"example": {
"error": "evidence not sealed yet — retry shortly"
},
"properties": {
"error": {
"description": "Human-readable explanation. Do not parse as a stable error code.",
"type": "string"
}
},
"required": [
"error"
],
"type": "object"
}
}
},
"description": "State conflict; inspect the error before retrying."
}
}