Mobile-ID · Evidence-based trust
Records glossaryContact
Trusted Records · Integration & Developer

Invoice request

Proposed Trusted Billing submission; confirm schemas/provider mapping.

Request schema from OpenAPI

FieldTypeRequiredConstraintsTechnical definition
paymentRequestIdstringYes{"minLength": 1, "maxLength": 128}Proposed paymentRequestId field. Synthetic identifiers must not contain personal data.
acceptanceRefstringYes{"minLength": 1, "maxLength": 128}Proposed acceptanceRef field. Synthetic identifiers must not contain personal data.
recipientRefstringYes{"minLength": 1, "maxLength": 128}Proposed recipientRef field. Synthetic identifiers must not contain personal data.

Contract boundary

Proposed Trusted Billing submission; confirm schemas/provider mapping.

Exceptions and reconciliation

After timeout, query state rather than create another transaction/command with an unknown prior outcome. Retain correlation/version/evidence without records or credentials in logs.

HTTP example — proposed contract

Request

POST https://records.example.invalid/v1/invoice-requests HTTP/1.1
Authorization: Bearer <example-token>
X-Tenant-Id: synthetic-tenant-001
X-Project-Id: synthetic-project-001
X-Correlation-Id: synthetic-correlation-001
Idempotency-Key: synthetic-key-001
Content-Type: application/json

{
  "paymentRequestId": "synthetic-payment-001",
  "acceptanceRef": "synthetic-acceptance-001",
  "recipientRef": "synthetic-recipient-001"
}

Response · 202

{
  "invoiceRequestId": "synthetic-invoice-001",
  "state": "REQUESTED"
}

Required fields and shared controls

ItemProposed rule
scopebilling:write
requiredpaymentRequestId, acceptanceRef, recipientRef
tenant / projectToken and context must match; headers alone are insufficient.
idempotencyPOST/PATCH: same key/body returns original result; changed body returns 409; confirm retention window.
errorcode, message, requestId, correlationId, retryable, details; no sensitive data.

Start with a verifiable scope.

Agree record classes, quality criteria, permissions and evidence before scaling.

Plan assessment

Search Trusted Records

Enlarged source image

Illustrative source image; displayed values are not service commitments.