Credit Note Line Items
List all CreditNoteLineItemGroups
List all CreditNoteLineItemGroups
GET
/
credit-notes
/
{creditnote}
/
line-item-groups
Header
Path
Query
curl --request GET \
--url https://eu.sequencehq.com/api/credit-notes/{creditnote}/line-item-groups \
--header 'Authorization: <authorization>'
{
"items": [
{
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"description": "Credit note for users",
"grossTotal": "101.23",
"id": "e5bc0f12-4bc1-f821-bc2d-04639a16f9ec",
"index": 2,
"lineItemGroupId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"netTotal": "51.20",
"title": "Users",
"totalTax": "2.50"
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}
Headers
Authorizationrequired
string
Your API credentials. Eg. Basic {credentials}
.
Path Parameters
creditnoterequired
string
The CreditNote ID
Query Parameters
before
string
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.
after
string
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.
limit
integer
Maximum number of objects to return per-page.
sortOrder
string
Sort order. Default: DESC (descending, most often used for reverse chronological sorting).
Response
200 - application/json
itemsrequired
object[]
paginationrequired
object
curl --request GET \
--url https://eu.sequencehq.com/api/credit-notes/{creditnote}/line-item-groups \
--header 'Authorization: <authorization>'
{
"items": [
{
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"description": "Credit note for users",
"grossTotal": "101.23",
"id": "e5bc0f12-4bc1-f821-bc2d-04639a16f9ec",
"index": 2,
"lineItemGroupId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"netTotal": "51.20",
"title": "Users",
"totalTax": "2.50"
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}