---
title: "Invoice:Lines"
method: GET
path: "/v2/invoices/{invoiceId}/lines"
tags: ["Invoices"]
---

# Invoice:Lines

`GET /v2/invoices/{invoiceId}/lines`

## Request

- Base URL: `https://connect.pay.nl`
- URL: `https://connect.pay.nl/v2/invoices/{invoiceId}/lines`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

A Pay. invoice contains multiple invoice lines. This API returns all invoice lines for a specified invoice. If you are a partner and you have rights to your merchants you can retrieve the invoice lines also for your merchants

## Path parameters

- `invoiceId` string, required

## Query parameters

- `page` integer

## Response `200`

OK

- InvoiceInvoiceLinesOutput
  - `invoiceLines` InvoiceLineOutputGenericApiApiReadV2ApiRead[]: Collection of Invoice.InvoiceLineOutput objects or an empty array
    - `code` string
    - `turnoverDate` string, date-time
    - `releaseDate` string, date-time, nullable
    - `paymentDate` string, date-time, nullable
    - `state` string
    - `type` string
    - `billingLineType` BillingLineTypeOutputGenericApiApiReadV2ApiRead
      - `id` integer
      - `name` string
    - `volume` AmountOutput: A monetary amount with its value in cents and currency in ISO-4217 format.
      - `value` integer: The amount value in cents
      - `currency` string: The currency in ISO-4217 format
    - `transactions` integer
    - `uniquePayers` integer
    - `costs` CostsGenericApiApiReadV2ApiRead
      - `value` integer
      - `currency` string
      - `unitType` UnitTypeGenericApiApiReadV2ApiRead
        - `type` string
        - `tariff` number
  - `count` integer: The amount of items the collection contains
  - `pages` integer: The amount of pages available
  - `total` integer, nullable: The total items the collection contains
  - `_links` LinkOutput[], nullable
    - `href` string, nullable: The URI to the linked resource
    - `rel` string, nullable: The name of the linked resource
    - `type` string, nullable: The (http(s)) method needed to approach the linked resource

## Other responses

- `400`: Bad request, see response body for more information
- `401`: Unauthorized. Supplied credentials are invalid
- `403`: Forbidden. Supplied credentials have no rights
- `404`: Resource not found
- `405`: Used HTTP method is not allowed
- `406`: Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `410`: Indicates that this resource is no longer available for use
- `415`: Unsupported media. The supplied content type in the content-type parameter in the header is not supported
- `429`: Rate limit reached.
- `500`: An internal error occurred.
- `503`: The server is currently unable to handle your request

---

[API](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api.md) - [All operations](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/revisions/2bc260c7bdfc?raw)
