Credit Note Line Items
List all line item groups for credit note
List all line item groups for credit note (unpaginated)
GET
/
credit-notes
/
{id}
/
line-item-groups
/
all
Header
Path
curl --request GET \
--url https://eu.sequencehq.com/api/credit-notes/{id}/line-item-groups/all \
--header 'Authorization: <authorization>'
{
"items": [
{
"creditNoteId": "941272d1-f840-4e16-b698-0cd455c81e0e",
"description": "Credit for cars",
"grossTotal": "22000",
"id": "06c44e52-b8f4-4588-a2a6-001169ebf80e",
"index": 1,
"lineItemGroupId": "941272d1-f840-4e16-b698-00cd455c81e0",
"netTotal": "200000",
"title": "Cars",
"totalTax": "10"
}
]
}
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
Credit Note Id
Response
200 - application/json
itemsrequired
object[]
curl --request GET \
--url https://eu.sequencehq.com/api/credit-notes/{id}/line-item-groups/all \
--header 'Authorization: <authorization>'
{
"items": [
{
"creditNoteId": "941272d1-f840-4e16-b698-0cd455c81e0e",
"description": "Credit for cars",
"grossTotal": "22000",
"id": "06c44e52-b8f4-4588-a2a6-001169ebf80e",
"index": 1,
"lineItemGroupId": "941272d1-f840-4e16-b698-00cd455c81e0",
"netTotal": "200000",
"title": "Cars",
"totalTax": "10"
}
]
}