PUT
/
payment
/
bank-account-transactions
/
{id}
/
assign-invoices

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

BankAccountTransaction identifier

Body

invoiceIds
string[]

Response

200 - application/json
amount
object
assignments
object[]

All assignments to invoices and their transactions. Can be one or multiple, if the bank transaction was split into multiple invoices. Use case: A customer pays multiple invoices with one bank transaction.

bookedAt
string | null
bookingDate
string
counterParty
object | null
endToEndId
string | null
fee
object
id
string
mandateId
string | null
paymentDate
string
receivedAt
string
source
enum<string>

The source of the bank account transaction.

Available options:
klarna
status
enum<string>
Available options:
STATUS_RECEIVED,
STATUS_BOOKED,
STATUS_MANUAL_MATCHING_REQUIRED,
STATUS_IGNORED,
outstanding_amount,
suggestions_available
suggestedCustomer
object | null
suggestedInvoice
object | null
transactionCode
string | null

The transaction code as defined in ISO 20022. See: https://www.iso20022.org/sites/default/files/2020-08/BTC_ExternalCodeListDescription_31Aug2020.doc

type
enum<string>

The type of the bank account transaction.

Available options:
debit,
credit
unassignedAmount
object

The amount that is not assigned to any invoice or transaction. Can be negative if the bank transaction is assigned to invoices and transactions with a higher amount than the bank transaction amount.

usageDescription
string
valueDate
string