PUT
/
invoices
/
{invoice}
/
line-item-groups
/
{id}
curl --request PUT \
  --url https://eu.sequencehq.com/api/invoices/{invoice}/line-item-groups/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Users",
  "description": "Charges for users"
}'
{
  "id": "4639a112-f821-4bc1-bc2d-6f9ece5b7c0f",
  "invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
  "title": "Users",
  "description": "Charges for users",
  "index": 2,
  "netTotal": "51.20",
  "totalTax": "2.50",
  "grossTotal": "101.23"
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Path Parameters

invoice
string
required

The Invoice ID

id
string
required

Line Item Group ID

Body

application/json
title
string
required

Line Item Group Title

description
string

Line Item Group Description

Response

200 - application/json
id
string
required

Line Item Group ID

invoiceId
string
required

Invoice ID

title
string
required

Line Item Group Title

description
string

Line Item Group Description

index
integer
required

Index (for maintaining order)

netTotal
string
required

Net total, in decimal format of the Invoice's currency

totalTax
string
required

Total tax, in decimal format of the Invoice's currency

grossTotal
string
required

Gross total, in decimal format of the Invoice's currency