curl --request GET \
--url https://dev.seqhq.io/api/invoices/{invoice}/line-item-groups \
--header 'Authorization: <authorization>'{
"items": [
{
"id": "4639a112-f821-4bc1-bc2d-6f9ece5b7c0f",
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"title": "Users",
"description": "Charges for users",
"index": 2,
"netTotal": "51.20",
"totalTax": "2.50",
"grossTotal": "101.23",
"taxCategory": {
"id": "28227c88-6dba-455f-9b30-b9c76957e610",
"name": "VAT"
}
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}List all Line Item Groups
curl --request GET \
--url https://dev.seqhq.io/api/invoices/{invoice}/line-item-groups \
--header 'Authorization: <authorization>'{
"items": [
{
"id": "4639a112-f821-4bc1-bc2d-6f9ece5b7c0f",
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"title": "Users",
"description": "Charges for users",
"index": 2,
"netTotal": "51.20",
"totalTax": "2.50",
"grossTotal": "101.23",
"taxCategory": {
"id": "28227c88-6dba-455f-9b30-b9c76957e610",
"name": "VAT"
}
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
2024-07-30 The Invoice ID
Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.
Pagination cursor. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.
Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
OK
LineItemGroups
Show child attributes
[
{
"id": "4639a112-f821-4bc1-bc2d-6f9ece5b7c0f",
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"title": "Users",
"description": "Charges for users",
"index": 2,
"netTotal": "51.20",
"totalTax": "2.50",
"grossTotal": "101.23",
"taxCategory": {
"id": "28227c88-6dba-455f-9b30-b9c76957e610",
"name": "VAT"
}
}
]Results pagination
Show child attributes
{
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}