The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.

Get invoice lines

GET

https://api.pack.cloud/v1/organizations/{organizationId}/billing/invoices/{invoiceId}/lines

Request

Path parameters

organizationIdstring
invoiceIdstring

Response

OK

Body

idstring
ID of the invoice line
descriptionstring
Description of the invoice line
Example:Subscription - PackCloud Pro - 2500 orders
quantityinteger
Quantity of unit
Example:1
Price per unit excluding VAT
period_start_atstringnull
Period start date to which the invoice line relates
period_end_atstringnull
Period end date to which the invoice line relates
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25