Invoice Line Items
Create a new Line Item Group
Create a new Line Item Group
post/invoices/{invoice}/line-item-groups
Path parameters
invoicestring required
The Invoice 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
Example request
{
"title": "Users",
"description": "Charges for users",
"taxCategoryId": "28227c88-6dba-455f-9b30-b9c76957e610",
"revenueRecognitionMethod": "STRAIGHT_LINE",
"revenueClassification": "EARNED",
"servicePeriod": {
"start": "2022-10-20",
"endInclusive": "2022-10-24"
}
}Response
Created
Example response
{
"id": "941272d1-f840-4e16-b698-0cd455c81e0e",
"invoiceId": "cd11218d-fa00-4faa-8684-a43113d076a8",
"title": "Cars",
"description": "Charges for cars",
"index": 1,
"netTotal": "200000",
"totalTax": "10",
"grossTotal": "22000",
"taxCategory": {
"id": "28227c88-6dba-455f-9b30-b9c76957e610",
"name": "VAT"
}
}