v1

latestOpenAPI 3.0.02026-07-261733191.1 MB
Credit Note Line Items

Update a Credit Note Line Item Group

Update a Credit Note Line Item Group

put/credit-notes/{creditnote}/line-item-groups/{id}

Path parameters

creditnotestring required

The CreditNote ID

idstring required

Credit Note Line Item Group ID

Headers

Authorizationstring required

Your API credentials. Eg. Basic {credentials}.

sequence-version'2024-07-30'

Use this header to select an API version

Request body

titlestring required

Credit Note Line Item Group Title

descriptionstring

Credit Note Line Item Group Description

Example request

{
  "title": "Users",
  "description": "Credit note for users"
}

Response

OK

idstring required

Credit Note Line Item Group ID

creditNoteIdstring required

Credit Note ID

lineItemGroupIdstring

Line Item Group ID

titlestring required

Credit Note Line Item Group Title

descriptionstring

Credit Note Line Item Group Description

indexinteger required

Index (for maintaining order)

netTotalstring required

Net total

totalTaxstring required

Total tax

grossTotalstring required

Gross total

Example response

{
  "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"
}