Openapi
Match a transaction to invoices, journal entries, expense reports or a payment batch. An invoice match records a payment.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidtransactionId*stringuuidThe targets and amounts to match.
application/jsonmatches*array<>1 <= itemsReturns the result.
application/jsonaccountId*stringuuidamount*minorUnitsbookedOn*isoDatedatecounterpartyIban*string|nullcounterpartyName*string|nullcurrency*stringid*stringuuidmatches*array<>remittance*string|nullstatus*bankTransactionStatusSchema"unmatched""matched""ignored"structuredReference*string|nullcurl -X POST 'https://app.localhost/api/v1/organizations/123/bank-transactions/123e4567-e89b-12d3-a456-426614174000/match' \ -H 'Content-Type: application/json' \ -d '{ "matches": [ { "targetId": "string", "targetType": "invoice" } ]}'{ "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "amount": 0, "bookedOn": "2019-08-24", "counterpartyIban": "string", "counterpartyName": "string", "currency": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "matches": [ { "amount": 0, "targetId": "string", "targetType": "invoice" } ], "remittance": "string", "status": "unmatched", "structuredReference": "string"}