Invoice Line

Read

Retrieve a single Invoice Line record by ID.

get/api/cp/invoice-line/{id}

Path parameters

idinteger required

Id identifier

Response

Successful response

idinteger

Id

invoice_idinteger

Invoice Id (references invoice.id)

qtyinteger

Qty

package_idinteger

Package Id

descriptionstring

Description

start_datestring date-time

Start Date

end_datestring date-time

End Date

unit_pricenumber

Unit Price

netnumber

Net

taxnumber

Tax

sub_totalnumber

Sub Total

attemptsinteger

Attempts

connectedinteger

Connected

durationinteger

Duration

jsonstring

Json

Example response

{
  "id": 12345,
  "invoice_id": 1,
  "qty": 123,
  "package_id": 1,
  "description": "A detailed description of the resource",
  "start_date": "2025-01-17T10:30:00Z",
  "end_date": "2025-01-17T10:30:00Z",
  "unit_price": 99.99,
  "net": 99.99,
  "tax": 99.99,
  "sub_total": 10,
  "attempts": 123,
  "connected": 123,
  "duration": 123,
  "json": "Sample json text content"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.