Credit Note Line Items
List line items for a credit note
List all line items for credit note (unpaginated)
GET
/
credit-notes
/
{id}
/
line-items
/
all
Header
Path
curl --request GET \
--url https://dev.seqhq.io/api/credit-notes/{id}/line-items/all \
--header 'Authorization: <authorization>'
{
"items": [
{
"id": "941272d1-f840-4e16-b698-0cd455c81e0e",
"creditNoteId": "941272d1-f840-4e16-b698-0cd455c81e0e",
"groupId": "06c44e52-b8f4-4588-a2a6-001169ebf80e",
"lineItemId": "3ec02846-bcf7-484c-a96e-ded9a9b96333",
"title": "Ferraris",
"description": "Red",
"quantity": "10",
"rate": "200000",
"taxRate": "0.1",
"index": 1,
"netTotal": "200000",
"totalTax": "10",
"grossTotal": "22000",
"rateDisplay": "ABSOLUTE",
"externalIds": []
}
]
}
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Path Parameters
id
string
requiredCredit Note Id
Response
200 - application/json
items
object[]
requiredcurl --request GET \
--url https://dev.seqhq.io/api/credit-notes/{id}/line-items/all \
--header 'Authorization: <authorization>'
{
"items": [
{
"id": "941272d1-f840-4e16-b698-0cd455c81e0e",
"creditNoteId": "941272d1-f840-4e16-b698-0cd455c81e0e",
"groupId": "06c44e52-b8f4-4588-a2a6-001169ebf80e",
"lineItemId": "3ec02846-bcf7-484c-a96e-ded9a9b96333",
"title": "Ferraris",
"description": "Red",
"quantity": "10",
"rate": "200000",
"taxRate": "0.1",
"index": 1,
"netTotal": "200000",
"totalTax": "10",
"grossTotal": "22000",
"rateDisplay": "ABSOLUTE",
"externalIds": []
}
]
}