Book two bank lines as a transfer between own bank accounts
Pairs an unbooked DEBIT on one of your bank accounts with an unbooked CREDIT on another (for example CHF account to EUR account) and posts one journal entry for both. In one currency both lines must show the same amount. Across currencies each leg keeps its own CHF value (the statement's CHF figure, else the ESTV/BAZG rate of its value date) and the difference is booked as realized FX. The import pairs such lines automatically when the counterparty IBAN names the other account; this route pairs the rest. Undo: set either line back to UNMATCHED (PUT /bank-transactions/{id}). Errors: 400 TRANSFER_DIRECTION, TRANSFER_SAME_ACCOUNT, TRANSFER_AMOUNT_MISMATCH, TRANSFER_LINE_BOOKED, INVALID_TRANSACTION_ID, FISCAL_YEAR_CLOSED, FX_RATE_UNAVAILABLE, FX_ACCOUNT_MISSING; 409 TRANSFER_LINE_BOOKED when a line was booked concurrently; 403 DOUBLE_ENTRY_REQUIRED.
Request
- Base URL: https://api.lumabill.ch/v1
- URL: https://api.lumabill.ch/v1/bank-transactions/{id}/pair-transfer
- Auth: HTTP bearer
Request body
Response
Transfer booked
Example response
{
"message": "Transfer booked"
}Changes
No recorded changes to this operation across all 1 revision of this API.