Matching

matching.receiptConsolidation.preview

Inspect current originals, source identities, exact signed payment pieces and revisions before manually linking a receipt to an existing bank purchase. No financial fields or allocations are changed.

GETPOST/api/v1/accounting/matching.receiptConsolidation.preview

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_matching_receipt_consolidation_preview

Fields

  • receiptEntryIdstring (ID)Required

    The ID of the related record.

  • targetEntryIdstring (ID)Required

    The ID of the related record.

  • modeenumRequired
    same_orderwise_card_settlement
  • transactionIdsarray of strings (ID)Required

    A list of record IDs.

    1–20 items

Example

curl https://app.getoatmilk.com/api/v1/accounting/matching.receiptConsolidation.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "receiptEntryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
  "targetEntryId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
  "mode": "same_order",
  "transactionIds": [
    "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10"
  ]
}'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

POST/api/v1/accounting/matching.receiptConsolidation.preview
curl https://app.getoatmilk.com/api/v1/accounting/matching.receiptConsolidation.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "receiptEntryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
  "targetEntryId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
  "mode": "same_order",
  "transactionIds": [
    "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10"
  ]
}'

More in Matching.