Attach bank account


post https://api.trivi.com/v2/accountingdocuments/{accountingDocumentId}/bankaccounts

This endpoint is available only if accounting document is not processed yet.

Path Variables
accountingDocumentId
integer   required
Format int64
Body
AccountingDocumentBankAccount
number
string   optional
bankCode
string   optional
iban
string   optional
swift
string   optional
bankAccountId
integer   optional

Issued Accounting Document Required, other properties will be ignored

Received Accounting Document This is not allowed

Format int64
localId
string   optional

Only in GET GUID

AccountingDocumentBankAccount
number
string   optional
bankCode
string   optional
iban
string   optional
swift
string   optional
bankAccountId
integer   optional

Issued Accounting Document Required, other properties will be ignored

Received Accounting Document This is not allowed

Format int64
localId
string   optional

Only in GET GUID

ValidationError
code
string   optional
message
string   optional
params
object   optional
fieldsAffected
Array of ValidationFieldError   optional
ValidationFieldError
name
string   optional
message
string   optional
code
string   optional
params
object   optional
Object