Skip to main content
POST
Get one consumption log

Authorizations

Authorization
string
header
required

Authorization: Bearer <api key>. The key resolves to your organization; every response is scoped to it. An organization field in the request body is optional, but if present it must match, or the request is rejected.

Body

application/json
id
string
required
organization
string

Optional. If present, must match the organization your API key resolves to, or the request is rejected with 400.

Response

One consumption log.

id
string
home_clinic
string
servicing_clinic
string
invoice_pims_id
string
invoice_date
string<date-time> | null
invoice_line
string
invoice_line_aje_delta_discounted
number<double>
invoice_line_aje_delta_gross
number<double>
invoice_line_pims_id
string
pet
string
pet_benefit
string
product_code
string
product_name
string
qty_available_on_plan
integer
qty_consumed
integer
qty_in_plan
integer
qty_out_of_plan
integer
qty_remaining
integer
revenue_in_plan_total
number<double>
revenue_out_of_plan_total
number<double>
revenue_to_recognize_total
number<double>
revenue_to_recognize_per_unit
number<double>
is_unlimited_benefit
boolean
subscription
string
created_at
string<date-time>
updated_at
string<date-time>
is_deleted
boolean | null