Skip to main content
POST
/
invoice-lines-v2
List Invoice Lines V2
curl --request POST \
  --url https://nestvet.com/api/1.1/wf/invoice-lines-v2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organization": "1700000000000x444444444444444444",
  "limit": 100,
  "offset": 0,
  "id": "1700000000000x000000000000000000",
  "clinic": "1700000000000x111111111111111111",
  "product_code": "EXAM-STD",
  "subscription": "1700000000000x333333333333333333",
  "invoice_pims_id": "INV-12345",
  "spanner_invoice_line_id": "spn_inv_line_xyz789",
  "modified_since": "2025-01-01T00:00:00Z",
  "created_at_since": "2025-01-01T00:00:00Z",
  "updated_at_since": "2025-01-01T00:00:00Z",
  "include_deleted": false
}
'
[
  {
    "id": "<string>",
    "pet": "<string>",
    "subscription": "<string>",
    "clinic": "<string>",
    "clinic_id": "<string>",
    "invoice": "<string>",
    "invoice_pims_id": "<string>",
    "invoice_line_pims_id": "<string>",
    "product": "<string>",
    "product_code": "<string>",
    "wellness_plan_name": "<string>",
    "is_payment": true,
    "total": 123,
    "quantity": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.nest.vet/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
organization
string
required

Filter by organization ID

Example:

"1700000000000x444444444444444444"

limit
integer<int32>
default:100
required
Required range: 1 <= x <= 200
Example:

100

offset
integer<int32>
default:0
required
Required range: x >= 0
Example:

0

id
string

Filter by invoice line ID

Example:

"1700000000000x000000000000000000"

clinic
string

Filter by clinic ID

Example:

"1700000000000x111111111111111111"

product_code
string

Filter by product code

Example:

"EXAM-STD"

subscription
string

Filter by subscription ID

Example:

"1700000000000x333333333333333333"

invoice_pims_id
string

Filter by parent PIMS invoice ID

Example:

"INV-12345"

spanner_invoice_line_id
string

Filter by Spanner invoice line ID

Example:

"spn_inv_line_xyz789"

modified_since
string<date-time>

Filter: internal modified_date >= value

Example:

"2025-01-01T00:00:00Z"

created_at_since
string<date-time>

Filter: bubble created date >= value

Example:

"2025-01-01T00:00:00Z"

updated_at_since
string<date-time>

Filter: bubble modified date >= value

Example:

"2025-01-01T00:00:00Z"

include_deleted
boolean
default:false

Include soft-deleted rows

Example:

false

Response

200 - application/json

A list of invoice lines

id
string
pet
string
subscription
string
clinic
string
clinic_id
string
invoice
string
invoice_pims_id
string
invoice_line_pims_id
string
product
string
product_code
string
wellness_plan_name
string
is_payment
boolean
total
number<double>
quantity
integer<int32>
created_at
string<date-time>
updated_at
string<date-time>