List all Credit Note Line Items
Changed onList all Credit Note Line Items
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/credit-notes/{creditnote}/line-items
- Authnone declared. Required headers: Authorization
Path parameters
The CreditNote ID
Query parameters
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).
Headers
Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
Response
OK
Example response
{
"items": [
{
"id": "af60cab3-812d-4250-a051-0fb7133a00c7",
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"groupId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"lineItemId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"title": "Ferraris",
"description": "Red",
"quantity": "2",
"rate": "20000.10",
"taxRate": "0.2",
"index": 2,
"priceId": "fe2fcd0b-4c53-45c7-b2ae-b6c1a7d21e95",
"netTotal": "20000.00",
"totalTax": "2000.00",
"grossTotal": "22000.00",
"rateDisplay": "ABSOLUTE",
"externalIds": [
{
"key": "Xero",
"value": "123"
}
],
"servicePeriod": {
"start": "2025-10-01",
"endInclusive": "2025-10-30"
},
"revenueRecognitionMethod": "STRAIGHT_LINE",
"revenueClassification": "EARNED",
"productId": "fe2fcd0b-4c53-45c7-b2ae-b6c1a7d21e95"
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}Changes
- breaking
the
queryrequest parametersortOrderwas restricted to a list of enum values - breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - breaking
the
///response's property format changed fromdateto no format for status - breaking
the
///response's property format changed fromdateto no format for status - warning
deleted the
headerrequest parameterSequence-Version - info
added the new optional
headerrequest parametersequence-version - info
added the new enum value
ASCto thequeryrequest parametersortOrder - info
added the new enum value
DESCto thequeryrequest parametersortOrder
- breaking
- breaking
removed the enum value
ASCfrom thequeryrequest parametersortOrder - breaking
removed the enum value
DESCfrom thequeryrequest parametersortOrder - warning
deleted the
headerrequest parametersequence-version - info
added the new optional
headerrequest parameterSequence-Version - info
for the
queryrequest parameterlimit, the format was generalized fromint32to no format
- breaking