v1
latestOpenAPI 3.0.32026-07-268955212.1 KBinvoices
Create an invoice payment
Creates a new payment record for the specified invoice. Use the bookkeepingAccountNumber field to specify an accounting account other than the default account (1930).
Scope: invoices:write
post/companies/{companyId}/invoices/{invoiceId}/payments
Request body
Example request
{
"id": "b529df79-eb7f-5ef0-a8dc-c2b71f953554",
"invoiceId": "a419cf69-db6f-4de9-992c-b1a60942a443",
"date": "2024-10-15",
"sumBaseCurrency": 200,
"bookkeepingAccountNumber": 1930,
"journalEntryRef": {
"id": "55c899c5-82b2-4a09-899e-9dc03342b5dc"
}
}Response
Payment created successfully
Example response
{
"id": "b529df79-eb7f-5ef0-a8dc-c2b71f953554",
"invoiceId": "a419cf69-db6f-4de9-992c-b1a60942a443",
"date": "2024-10-15",
"sumBaseCurrency": 200,
"bookkeepingAccountNumber": 1930,
"journalEntryRef": {
"id": "55c899c5-82b2-4a09-899e-9dc03342b5dc"
}
}