Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Total freight amount including tax, as a decimal string.
Tax component of the freight amount, as a decimal string.
Line items that make up this receive invoice.
Timestamp when the line item was created.
Discount applied to this line item, as a decimal string.
Grouping identifier for related line items.
Identifier for the invoice line item.
Ledger account associated with this line item.
Total amount for this line excluding tax.
Location associated with this line item.
Owning organization or business unit for this line item.
Product or service associated with this line item.
Salesperson associated with this line item.
Standard (list) unit price excluding tax.
Unit price excluding tax, as a decimal string.
Identifier of the ownership separation to which this receive invoice belongs.
Canonical identifier for the receive invoice.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice
- 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/receive-invoice' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"comments": "string",
"currency": "string",
"dueDate": "2025-01-01",
"extensions": {},
"freightAmount": "100.00",
"freightTaxAmount": "100.00",
"invoiceNumber": "string",
"isActive": true,
"lineItems": [
{
"createdAt": "2025-01-01T00:00:00.000Z",
"discountAmount": "100.00",
"extensions": {},
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceLineItemId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000",
"lineTaxAmount": "100.00",
"lineTotalAmount": "100.00",
"lineType": "string",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"salesPersonId": "123e4567-e89b-12d3-a456-426614174000",
"standardUnitPriceAmount": "100.00",
"standardUnitTaxAmount": "100.00",
"status": "string",
"taxCode": "string",
"taxPercent": 0,
"unitPriceAmount": "100.00",
"unitTaxAmount": "100.00",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderIds": [
"string"
],
"receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000",
"roundingAmount": "100.00",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"taxAmount": "100.00",
"totalAmount": "100.00",
"transactedAt": "2025-01-01T00:00:00.000Z"
}'Receive Invoice created successfully
Timestamp when the receive invoice was created.
Due date/time for payment of the receive invoice.
Total freight amount including tax, as a decimal string.
Tax component of the freight amount, as a decimal string.
Line items that make up this receive invoice.
Timestamp when the line item was created.
Discount applied to this line item, as a decimal string.
Grouping identifier for related line items.
Identifier for the invoice line item.
Ledger account associated with this line item.
Total amount for this line excluding tax.
Location associated with this line item.
Owning organization or business unit for this line item.
Product or service associated with this line item.
Salesperson associated with this line item.
Standard (list) unit price excluding tax.
Unit price excluding tax, as a decimal string.
Identifier of the ownership separation to which this receive invoice belongs.
List of purchase orders associated with this receive invoice.
Canonical identifier for the receive invoice.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
Timestamp when the receive invoice was last updated.
{ "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "dueDate": "2025-01-01T00:00:00Z", "extensions": {}, "freightAmount": "100.00", "freightTaxAmount": "100.00", "invoiceNumber": "string", "isActive": true, "lineItems": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderIds": [ "string" ], "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "roundingAmount": "100.00", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "taxAmount": "100.00", "totalAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z", "transactedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice
- 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/receive-invoice?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&comments=string¤cy=string&invoiceNumber=string&isActive=true&ownershipId=123e4567-e89b-12d3-a456-426614174000&supplierId=123e4567-e89b-12d3-a456-426614174000' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- 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/receive-invoice/{receiveInvoiceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Receive Invoice found
Timestamp when the receive invoice was created.
Due date/time for payment of the receive invoice.
Total freight amount including tax, as a decimal string.
Tax component of the freight amount, as a decimal string.
Line items that make up this receive invoice.
Timestamp when the line item was created.
Discount applied to this line item, as a decimal string.
Grouping identifier for related line items.
Identifier for the invoice line item.
Ledger account associated with this line item.
Total amount for this line excluding tax.
Location associated with this line item.
Owning organization or business unit for this line item.
Product or service associated with this line item.
Salesperson associated with this line item.
Standard (list) unit price excluding tax.
Unit price excluding tax, as a decimal string.
Identifier of the ownership separation to which this receive invoice belongs.
List of purchase orders associated with this receive invoice.
Canonical identifier for the receive invoice.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
Timestamp when the receive invoice was last updated.
{ "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "dueDate": "2025-01-01T00:00:00Z", "extensions": {}, "freightAmount": "100.00", "freightTaxAmount": "100.00", "invoiceNumber": "string", "isActive": true, "lineItems": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderIds": [ "string" ], "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "roundingAmount": "100.00", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "taxAmount": "100.00", "totalAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z", "transactedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the ownership separation to which this receive invoice belongs.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- 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/receive-invoice/{receiveInvoiceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"comments": "string",
"currency": "string",
"dueDate": "2025-01-01",
"extensions": {},
"freightAmount": "100.00",
"freightTaxAmount": "100.00",
"invoiceNumber": "string",
"isActive": true,
"lineItems": [
{
"createdAt": "2025-01-01T00:00:00.000Z",
"discountAmount": "100.00",
"extensions": {},
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceLineItemId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000",
"lineTaxAmount": "100.00",
"lineTotalAmount": "100.00",
"lineType": "string",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"salesPersonId": "123e4567-e89b-12d3-a456-426614174000",
"standardUnitPriceAmount": "100.00",
"standardUnitTaxAmount": "100.00",
"status": "string",
"taxCode": "string",
"taxPercent": 0,
"unitPriceAmount": "100.00",
"unitTaxAmount": "100.00",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderIds": [
"string"
],
"roundingAmount": "100.00",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"taxAmount": "100.00",
"totalAmount": "100.00",
"transactedAt": "2025-01-01T00:00:00.000Z"
}'Receive Invoice updated successfully
Timestamp when the receive invoice was created.
Due date/time for payment of the receive invoice.
Total freight amount including tax, as a decimal string.
Tax component of the freight amount, as a decimal string.
Line items that make up this receive invoice.
Timestamp when the line item was created.
Discount applied to this line item, as a decimal string.
Grouping identifier for related line items.
Identifier for the invoice line item.
Ledger account associated with this line item.
Total amount for this line excluding tax.
Location associated with this line item.
Owning organization or business unit for this line item.
Product or service associated with this line item.
Salesperson associated with this line item.
Standard (list) unit price excluding tax.
Unit price excluding tax, as a decimal string.
Identifier of the ownership separation to which this receive invoice belongs.
List of purchase orders associated with this receive invoice.
Canonical identifier for the receive invoice.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
Timestamp when the receive invoice was last updated.
{ "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "dueDate": "2025-01-01T00:00:00Z", "extensions": {}, "freightAmount": "100.00", "freightTaxAmount": "100.00", "invoiceNumber": "string", "isActive": true, "lineItems": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderIds": [ "string" ], "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "roundingAmount": "100.00", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "taxAmount": "100.00", "totalAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z", "transactedAt": "2025-01-01T00:00:00.000Z" }
Total freight amount including tax, as a decimal string.
Tax component of the freight amount, as a decimal string.
Line items that make up this receive invoice.
Timestamp when the line item was created.
Discount applied to this line item, as a decimal string.
Grouping identifier for related line items.
Identifier for the invoice line item.
Ledger account associated with this line item.
Total amount for this line excluding tax.
Location associated with this line item.
Owning organization or business unit for this line item.
Product or service associated with this line item.
Salesperson associated with this line item.
Standard (list) unit price excluding tax.
Unit price excluding tax, as a decimal string.
Identifier of the ownership separation to which this receive invoice belongs.
List of purchase orders associated with this receive invoice.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- 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/receive-invoice/{receiveInvoiceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"comments": "string",
"currency": "string",
"dueDate": "2025-01-01",
"extensions": {},
"freightAmount": "100.00",
"freightTaxAmount": "100.00",
"invoiceNumber": "string",
"isActive": true,
"lineItems": [
{
"createdAt": "2025-01-01T00:00:00.000Z",
"discountAmount": "100.00",
"extensions": {},
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceLineItemId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000",
"lineTaxAmount": "100.00",
"lineTotalAmount": "100.00",
"lineType": "string",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"salesPersonId": "123e4567-e89b-12d3-a456-426614174000",
"standardUnitPriceAmount": "100.00",
"standardUnitTaxAmount": "100.00",
"status": "string",
"taxCode": "string",
"taxPercent": 0,
"unitPriceAmount": "100.00",
"unitTaxAmount": "100.00",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderIds": [
"string"
],
"roundingAmount": "100.00",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"taxAmount": "100.00",
"totalAmount": "100.00",
"transactedAt": "2025-01-01T00:00:00.000Z"
}'Receive Invoice replaced successfully
Timestamp when the receive invoice was created.
Due date/time for payment of the receive invoice.
Total freight amount including tax, as a decimal string.
Tax component of the freight amount, as a decimal string.
Line items that make up this receive invoice.
Timestamp when the line item was created.
Discount applied to this line item, as a decimal string.
Grouping identifier for related line items.
Identifier for the invoice line item.
Ledger account associated with this line item.
Total amount for this line excluding tax.
Location associated with this line item.
Owning organization or business unit for this line item.
Product or service associated with this line item.
Salesperson associated with this line item.
Standard (list) unit price excluding tax.
Unit price excluding tax, as a decimal string.
Identifier of the ownership separation to which this receive invoice belongs.
List of purchase orders associated with this receive invoice.
Canonical identifier for the receive invoice.
Rounding adjustment applied to the invoice total, as a decimal string.
Identifier of the supplier contact associated with this receive invoice.
Timestamp when the receive invoice was last updated.
{ "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "dueDate": "2025-01-01T00:00:00Z", "extensions": {}, "freightAmount": "100.00", "freightTaxAmount": "100.00", "invoiceNumber": "string", "isActive": true, "lineItems": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderIds": [ "string" ], "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "roundingAmount": "100.00", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "taxAmount": "100.00", "totalAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z", "transactedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- 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/receive-invoice/{receiveInvoiceId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'