Fully replaces an existing Receive Invoice. All fields must be provided.
ISO 4217 currency code for all monetary amounts on this invoice.
Tax component of the freight amount, as a decimal string.
Supplier-provided invoice number used to track the invoice on their end.
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 serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/receive-invoice/{receiveInvoiceId}
curl -i -X PUT \
'https://docs.axiomera.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": "example",
"currency": "CODE-001",
"dueDate": "2025-01-01",
"extensions": {},
"freightAmount": "100.00",
"freightTaxAmount": "100.00",
"invoiceNumber": "123e4567-e89b-12d3-a456-426614174000",
"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": "example",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "Example Name",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 1.23,
"salesPersonId": "123e4567-e89b-12d3-a456-426614174000",
"standardUnitPriceAmount": "100.00",
"standardUnitTaxAmount": "100.00",
"status": "example",
"taxCode": "CODE-001",
"taxPercent": 1.23,
"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.
ISO 4217 currency code for all monetary amounts on this invoice.
Due date/time for payment of the receive invoice.
Tax component of the freight amount, as a decimal string.
Supplier-provided invoice number used to track the invoice on their end.
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": "example", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "CODE-001", "dueDate": "2025-01-01T00:00:00Z", "extensions": {}, "freightAmount": "100.00", "freightTaxAmount": "100.00", "invoiceNumber": "123e4567-e89b-12d3-a456-426614174000", "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" }