Acreum Docs
General ledger

Payment Applications

POST
/v1/payment-applications

Required scope: documents:write

Error codes: VALIDATION_FAILED, DOCUMENT_NOT_FOUND, PAYMENT_APPLICATION_LEGAL_ENTITY_MISMATCH, LOAN_DEBT_SERVICE_PAYMENT_NOT_APPLICABLE, DOCUMENT_STATUS_FORBIDS_ACTION, LEGAL_ENTITY_NOT_IN_SCOPE, MISSING_SYSTEM_ROLE_ACCOUNT, PERIOD_LOCKED, PERIOD_MISSING, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEDGER_ENTRY_REFUSED, ACCOUNT_LEGAL_ENTITY_MISMATCH, PERIOD_CLOSED, PAIRED_PAYMENT_NOT_RECORDABLE

Authorization

access-token
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key*string

Client-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.

Match^[A-Za-z0-9_-]{1,255}$
Lengthlength <= 255

Request Body

application/json
  1. body
applied_amount*string
applied_document_id*string
Formatuuid
paired_bank_account_id?string

Only used when the applied document is one side of an in-group pair: the bank account the other entity's payment posts to. Defaults to that entity's default bank account.

Formatuuid
paired_payment_date?string

Only used when the applied document is one side of an in-group pair: the date of the other entity's payment. Defaults to this payment's date.

Formatdate
payment_document_id*string
Formatuuid

Response Body

application/json
  1. response
data*
meta*
curl -X POST 'https://api.acreum.io/v1/payment-applications' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "applied_amount": "1804.05",  "applied_document_id": "149f34b8-0f1d-4789-a113-13a4b4315226",  "payment_document_id": "c0e84883-37cf-4eff-ab7a-c5ce998065ab"}'
{  "data": {    "applied_document": {      "balance_amount": "string",      "document_number": "string",      "document_type": "string",      "id": "string"    },    "id": "string",    "payment_document": {      "balance_amount": "string",      "document_number": "string",      "document_type": "string",      "id": "string"    }  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}