---
title: "Get an invoice payment"
method: GET
path: "/companies/{companyId}/invoices/{invoiceId}/payments/{paymentId}"
tags: ["invoices"]
---

# Get an invoice payment

`GET /companies/{companyId}/invoices/{invoiceId}/payments/{paymentId}`

## Request

- Base URL: `https://api.bokio.se/v1`
- URL: `https://api.bokio.se/v1/companies/{companyId}/invoices/{invoiceId}/payments/{paymentId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `/authorize`
    - Client credentials
    - Token URL: `/token` scopes: `invoices:read`

Retrieves a specific payment record for the invoice.

**Scope:** `invoices:read`

## Response `200`

Payment found

- InvoicePayment
  - `id` string, uuid
  - `invoiceId` string, uuid
  - `date` string, date, required
  - `sumBaseCurrency` number, double, required: The amount of the payment in the base currency. Currently the base currency is always SEK.
  - `bookkeepingAccountNumber` integer, required: The bookkeeping number of the payment account. The value must match a chart of accounts account number that has a payment account details.
  - `journalEntryRef` object, nullable
    - `id` string, uuid

## Other responses

- `404`: Invoice or payment not found

---

[API](https://skmtc.dev/bokio/apis/company-api.md) - [All operations](https://skmtc.dev/bokio/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bokio/apis/company-api/revisions/9395020f3da2?raw)
