9.2 GetPayment, GetServiceInvoice, BalanceEqualizing

All three use the same request fields.

FieldTypeRequiredDescription
startDatedateYes*Start, inclusive (2026-01-01)
endDatedateYes*End, exclusive
directiontextYes (GetPayment, GetServiceInvoice)Collection / Payment. GetServiceInvoice always returns collections, but the field must still be sent
exportedtrue/falseNoDefault false: only records not yet retrieved. true: only retrieved records
distCodestext listNoDistributor codes
idPaynumberNoFetches a single record; if given, the date and exported filters are not used
limitnumberNoMaximum number of records; empty = 5000

* Required if idPay is not sent.

{ "distCodes": ["131"], "startDate": "2026-01-01", "endDate": "2026-02-01", "exported": false, "direction": "Collection", "limit": 500 }
MethodMain fields in the response
GetPaymentidPay, distCode, evDate, receiptNo, sellerCode, customerCode, dir (1 collection, 2 payment), idInv, docStatus, isCanceled, items[] (paymentType, price, documentNo, dueDate, bank, bankOffice)
GetServiceInvoiceidPay, distCode, evDate, invoiceNumber, customerCode, price, serviceType
BalanceEqualizingidPay, distCode, evDate, invoiceNumber, customerCode, price, direction (Decrease/Increase), type (e.g. Decrease Balance)