cURL
curl --request POST \ --url https://eu.sequencehq.com/api/credit-notes/{creditnote}/line-item-groups \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "lineItemGroupId": "af60cab3-812d-4250-a051-0fb7133a00c7", "title": "Users", "description": "Credit note for users" }'
{ "id": "e5bc0f12-4bc1-f821-bc2d-04639a16f9ec", "creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7", "lineItemGroupId": "af60cab3-812d-4250-a051-0fb7133a00c7", "title": "Users", "description": "Credit note for users", "index": 2, "netTotal": "51.20", "totalTax": "2.50", "grossTotal": "101.23" }
Create a new Credit Note Line Item Group
Your API credentials. Eg. Basic {credentials}.
Basic {credentials}
Use this header to select an API version
2024-07-30
The CreditNote ID
Created
The response is of type object.
object