Skip to content

AHDS Store API (1.0)

Animal Health Data Store - V1 API Documentation

Overview
Languages
Servers
Mock server

https://docs.heydonto.com/_mock/apis/animal-health/openapi/

Local Development

http://localhost:8083/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Creates a new Taxrate record. Taxrate resource in the Animal Health Data Store

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
codestringrequired

Human-readable tax code or label (e.g., 'GST', 'VAT15').

extensionsobject

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this tax rate is currently active and can be used for billing.

ratenumberrequired

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

taxrateIdstringrequired

Canonical unique identifier for the tax rate.

Example: "123e4567-e89b-12d3-a456-426614174000"
jurisdictionstring

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/taxrate' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "string",
    "extensions": {},
    "isActive": true,
    "rate": 0,
    "taxrateId": "123e4567-e89b-12d3-a456-426614174000",
    "jurisdiction": "string"
  }'

Responses

Taxrate created successfully

Bodyapplication/json
codestringrequired

Human-readable tax code or label (e.g., 'GST', 'VAT15').

createdAtstring(date-time)required

Timestamp when the tax rate record was created.

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this tax rate is currently active and can be used for billing.

ratenumberrequired

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

taxrateIdstringrequired

Canonical unique identifier for the tax rate.

Example: "123e4567-e89b-12d3-a456-426614174000"
updatedAtstring(date-time)required

Timestamp when the tax rate record was last updated.

Example: "2025-01-01T00:00:00.000Z"
jurisdictionstringrequired

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

Response
application/json
{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "rate": 0, "taxrateId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "jurisdiction": "string" }

Request

Returns a paginated list of Taxrates for the specified site. Supports filtering and sorting.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Query
pagenumber>= 0

Page number (0-indexed)

Default 0
pageSizenumber[ 1 .. 100 ]

Number of items per page

Default 10
sortBystring

Field to sort by

Enum"createdAt""updatedAt""code""rate""jurisdiction"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
codestring

Human-readable tax code or label (e.g., 'GST', 'VAT15').

isActiveboolean

Whether this tax rate is currently active and can be used for billing.

jurisdictionstring

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/taxrate?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&code=string&isActive=true&jurisdiction=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Taxrates

Request

Returns a single Taxrate by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

taxrateIdstringrequired

Taxrate unique identifier (UUID)

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/taxrate/{taxrateId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Taxrate found

Bodyapplication/json
codestringrequired

Human-readable tax code or label (e.g., 'GST', 'VAT15').

createdAtstring(date-time)required

Timestamp when the tax rate record was created.

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this tax rate is currently active and can be used for billing.

ratenumberrequired

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

taxrateIdstringrequired

Canonical unique identifier for the tax rate.

Example: "123e4567-e89b-12d3-a456-426614174000"
updatedAtstring(date-time)required

Timestamp when the tax rate record was last updated.

Example: "2025-01-01T00:00:00.000Z"
jurisdictionstringrequired

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

Response
application/json
{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "rate": 0, "taxrateId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "jurisdiction": "string" }

Request

Partially updates an existing Taxrate. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

taxrateIdstringrequired

Taxrate unique identifier (UUID)

Bodyapplication/jsonrequired
codestring

Human-readable tax code or label (e.g., 'GST', 'VAT15').

extensionsobject

Vendor- or practice-specific extensions.

isActiveboolean

Whether this tax rate is currently active and can be used for billing.

ratenumber

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

jurisdictionstring

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/taxrate/{taxrateId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "string",
    "extensions": {},
    "isActive": true,
    "rate": 0,
    "jurisdiction": "string"
  }'

Responses

Taxrate updated successfully

Bodyapplication/json
codestringrequired

Human-readable tax code or label (e.g., 'GST', 'VAT15').

createdAtstring(date-time)required

Timestamp when the tax rate record was created.

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this tax rate is currently active and can be used for billing.

ratenumberrequired

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

taxrateIdstringrequired

Canonical unique identifier for the tax rate.

Example: "123e4567-e89b-12d3-a456-426614174000"
updatedAtstring(date-time)required

Timestamp when the tax rate record was last updated.

Example: "2025-01-01T00:00:00.000Z"
jurisdictionstringrequired

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

Response
application/json
{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "rate": 0, "taxrateId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "jurisdiction": "string" }

Request

Fully replaces an existing Taxrate. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

taxrateIdstringrequired

Taxrate unique identifier (UUID)

Bodyapplication/jsonrequired
codestringrequired

Human-readable tax code or label (e.g., 'GST', 'VAT15').

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this tax rate is currently active and can be used for billing.

ratenumberrequired

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

jurisdictionstringrequired

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/taxrate/{taxrateId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "string",
    "extensions": {},
    "isActive": true,
    "rate": 0,
    "jurisdiction": "string"
  }'

Responses

Taxrate replaced successfully

Bodyapplication/json
codestringrequired

Human-readable tax code or label (e.g., 'GST', 'VAT15').

createdAtstring(date-time)required

Timestamp when the tax rate record was created.

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this tax rate is currently active and can be used for billing.

ratenumberrequired

Tax rate as a decimal fraction (e.g., 0.15 for 15%).

taxrateIdstringrequired

Canonical unique identifier for the tax rate.

Example: "123e4567-e89b-12d3-a456-426614174000"
updatedAtstring(date-time)required

Timestamp when the tax rate record was last updated.

Example: "2025-01-01T00:00:00.000Z"
jurisdictionstringrequired

Human-readable description of the tax jurisdiction or authority this rate applies to (e.g., 'NZ national', 'CA-ON provincial').

Response
application/json
{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "rate": 0, "taxrateId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "jurisdiction": "string" }

Request

Permanently deletes a Taxrate record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

taxrateIdstringrequired

Taxrate unique identifier (UUID)

curl -i -X DELETE \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/taxrate/{taxrateId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Taxrate deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations