Invoice Line Items
List all line items for invoice
List all line items for invoice (unpaginated)
GET
/
invoices
/
{id}
/
line-items
/
all
Header
Path
curl --request GET \
--url https://eu.sequencehq.com/api/invoices/{id}/line-items/all \
--header 'Authorization: <authorization>'
{
"items": [
{
"description": "Red",
"externalIds": [
{
"key": "Xero",
"value": "123"
}
],
"grossTotal": "0",
"groupId": "befc8235-a295-4548-87bd-e9bcbbdf18b9",
"id": "af60cab3-812d-4250-a051-0fb7133a00c7",
"index": 2,
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"netTotal": "0",
"quantity": "2",
"rate": "20000.10",
"rateDisplay": "ABSOLUTE",
"revenueClassification": "EARNED",
"servicePeriod": {
"endDate": "2022-10-24",
"startDate": "2022-10-20"
},
"servicePeriodEnd": "2022-10-24T00:00:00Z",
"servicePeriodStart": "2022-10-20T00:00:00Z",
"taxRate": "0.2",
"title": "Ferraris",
"totalTax": "0"
}
]
}
Headers
Authorizationrequired
string
Your API credentials. Eg. Basic {credentials}
.
Idempotency-Key
string
Specifying a unique ID for this request here lets you retry it without risk of performing the same operation twice.
Path Parameters
idrequired
string
Invoice Id
Response
200 - application/json
itemsrequired
object[]
curl --request GET \
--url https://eu.sequencehq.com/api/invoices/{id}/line-items/all \
--header 'Authorization: <authorization>'
{
"items": [
{
"description": "Red",
"externalIds": [
{
"key": "Xero",
"value": "123"
}
],
"grossTotal": "0",
"groupId": "befc8235-a295-4548-87bd-e9bcbbdf18b9",
"id": "af60cab3-812d-4250-a051-0fb7133a00c7",
"index": 2,
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"netTotal": "0",
"quantity": "2",
"rate": "20000.10",
"rateDisplay": "ABSOLUTE",
"revenueClassification": "EARNED",
"servicePeriod": {
"endDate": "2022-10-24",
"startDate": "2022-10-20"
},
"servicePeriodEnd": "2022-10-24T00:00:00Z",
"servicePeriodStart": "2022-10-20T00:00:00Z",
"taxRate": "0.2",
"title": "Ferraris",
"totalTax": "0"
}
]
}