Invoice Line Items
Create a new Line Item Group
Create a new Line Item Group
POST
/
invoices
/
{invoice}
/
line-item-groups
Header
Path
Body
curl --request POST \
--url https://dev.seqhq.io/api/invoices/{invoice}/line-item-groups \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"description": "Charges for users",
"title": "Users"
}'
{
"description": "Charges for users",
"grossTotal": "101.23",
"id": "4639a112-f821-4bc1-bc2d-6f9ece5b7c0f",
"index": 2,
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"netTotal": "51.20",
"title": "Users",
"totalTax": "2.50"
}
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Path Parameters
invoice
string
requiredThe Invoice ID
Body
application/json
description
string
title
string
requiredResponse
201 - application/json
description
string
grossTotal
string
requiredid
string
requiredindex
integer
requiredinvoiceId
string
requirednetTotal
string
requiredtitle
string
requiredtotalTax
string
requiredcurl --request POST \
--url https://dev.seqhq.io/api/invoices/{invoice}/line-item-groups \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"description": "Charges for users",
"title": "Users"
}'
{
"description": "Charges for users",
"grossTotal": "101.23",
"id": "4639a112-f821-4bc1-bc2d-6f9ece5b7c0f",
"index": 2,
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"netTotal": "51.20",
"title": "Users",
"totalTax": "2.50"
}