Skip to main content
GET
/
api
/
v1
/
invoice
/
{invoice_uuid}
/
line-items
/
{line_item_uuid}
Line Item Get Api
curl --request GET \
  --url https://api.justpaid.io/api/v1/invoice/{invoice_uuid}/line-items/{line_item_uuid} \
  --header 'Authorization: Bearer <token>'
{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "unit_price": 123,
  "quantity": 123,
  "amount": 123,
  "currency": "<string>",
  "description": "<string>",
  "flat_fee": 123,
  "tax_rate": 123,
  "tax_amount": 123,
  "tax_name": "<string>",
  "discount_amount": 123,
  "discount_percent": 123,
  "service_start_date": "2023-12-25",
  "service_end_date": "2023-12-25",
  "display_order": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

invoice_uuid
string
required
line_item_uuid
string
required

Response

Line item retrieved successfully

Output schema for invoice line items with UUID for external API.

uuid
string<uuid>
name
string | null
Maximum length: 255
unit_price
number | null
quantity
integer | null
amount
number | null
currency
string | null
Maximum length: 3
description
string | null

The description of the line item

flat_fee
number | null

Fixed flat fee added to the line item amount

tax_rate
number | null
tax_amount
number | null
tax_name
string | null
Maximum length: 255
discount_amount
number | null
discount_percent
number | null
service_start_date
string<date> | null

The date the service starts for the item

service_end_date
string<date> | null

The date the service ends for the item

display_order
integer | null

The order in which the line item will be displayed in the UI/pdf