List payments


get https://api.trivi.com/v2/accountingdocuments/{accountingDocumentId}/payments

Path Variables
accountingDocumentId
integer   required
Format int64
AccountingDocumentPaymentInfo

Only in GET

paidConfirmed
boolean   optional

Only in GET

paid
boolean   optional
Default False
AccountingDocumentExpectedPayment
transactionId
string   required
expectedAmount
number   optional
Format double
expectedCurrency
string   optional
AccountingDocumentPayment
id
integer   optional
Format int64
amount
number   optional
Format double
currency
string   optional
domesticAmount
number   optional
Format double
domesticCurrency
string   optional
cashRegisterId
integer   optional
Format int64
direction
integer   optional

0 - Received, 1 - Issued

date
string   optional
Format date
type
number   optional

BankTransfer = 1, Cash = 2, CashOnDelivery = 3, PaymentCard = 4, SetOff = 5, Loan = 6

Object