Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Canonical identifier for this billing line.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-line
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"currency": "string",
"description": "string",
"discountAmount": "100.00",
"extensions": {},
"invoiceId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"lineId": "123e4567-e89b-12d3-a456-426614174000",
"lineTotal": "100.00",
"lineTotalTax": "100.00",
"quantity": 0,
"taxCode": {
"code": "string",
"system": "string",
"display": "string"
},
"taxRatePercent": 0,
"unitPrice": "100.00",
"unitPriceTax": "100.00"
}'Billing Line created successfully
Timestamp when this line was created.
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Canonical identifier for this billing line.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
{ "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "description": "string", "discountAmount": "100.00", "extensions": {}, "invoiceId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "lineId": "123e4567-e89b-12d3-a456-426614174000", "lineTotal": "100.00", "lineTotalTax": "100.00", "quantity": 0, "taxCode": { "code": "string", "system": "string", "display": "string" }, "taxRatePercent": 0, "unitPrice": "100.00", "unitPriceTax": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-line
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc¤cy=string&description=string&invoiceId=123e4567-e89b-12d3-a456-426614174000&isActive=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-line/{lineId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Billing Line found
Timestamp when this line was created.
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Canonical identifier for this billing line.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
{ "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "description": "string", "discountAmount": "100.00", "extensions": {}, "invoiceId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "lineId": "123e4567-e89b-12d3-a456-426614174000", "lineTotal": "100.00", "lineTotalTax": "100.00", "quantity": 0, "taxCode": { "code": "string", "system": "string", "display": "string" }, "taxRatePercent": 0, "unitPrice": "100.00", "unitPriceTax": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-line/{lineId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"currency": "string",
"description": "string",
"discountAmount": "100.00",
"extensions": {},
"invoiceId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"lineTotal": "100.00",
"lineTotalTax": "100.00",
"quantity": 0,
"taxCode": {
"code": "string",
"system": "string",
"display": "string"
},
"taxRatePercent": 0,
"unitPrice": "100.00",
"unitPriceTax": "100.00"
}'Billing Line updated successfully
Timestamp when this line was created.
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Canonical identifier for this billing line.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
{ "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "description": "string", "discountAmount": "100.00", "extensions": {}, "invoiceId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "lineId": "123e4567-e89b-12d3-a456-426614174000", "lineTotal": "100.00", "lineTotalTax": "100.00", "quantity": 0, "taxCode": { "code": "string", "system": "string", "display": "string" }, "taxRatePercent": 0, "unitPrice": "100.00", "unitPriceTax": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-line/{lineId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"currency": "string",
"description": "string",
"discountAmount": "100.00",
"extensions": {},
"invoiceId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"lineTotal": "100.00",
"lineTotalTax": "100.00",
"quantity": 0,
"taxCode": {
"code": "string",
"system": "string",
"display": "string"
},
"taxRatePercent": 0,
"unitPrice": "100.00",
"unitPriceTax": "100.00"
}'Billing Line replaced successfully
Timestamp when this line was created.
Discount amount applied to this line, excluding tax, as a decimal string.
Identifier of the invoice this line belongs to.
Canonical identifier for this billing line.
Total line amount excluding tax (unitPrice * quantity, minus discounts).
{ "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "description": "string", "discountAmount": "100.00", "extensions": {}, "invoiceId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "lineId": "123e4567-e89b-12d3-a456-426614174000", "lineTotal": "100.00", "lineTotalTax": "100.00", "quantity": 0, "taxCode": { "code": "string", "system": "string", "display": "string" }, "taxRatePercent": 0, "unitPrice": "100.00", "unitPriceTax": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/billing-line/{lineId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/billing-line/{lineId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'