v1

latestOpenAPI 3.0.32026-07-268955212.1 KB
invoices

Get an invoice payment

Retrieves a specific payment record for the invoice.

Scope: invoices:read

get/companies/{companyId}/invoices/{invoiceId}/payments/{paymentId}

Response

Payment found

idstring uuid
invoiceIdstring uuid
datestring date required
sumBaseCurrencynumber double required

The amount of the payment in the base currency. Currently the base currency is always SEK.

bookkeepingAccountNumberinteger required

The bookkeeping number of the payment account. The value must match a chart of accounts account number that has a payment account details.

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"
  }
}