industry-department-solutions
latest
false
- Overview
- API Resources

Supply Chain & Retail Solutions API guide
Last updated Apr 16, 2026
Tax
Overview
The tax resource represents tax rates for products at specific locations. This resource stores Value Added Tax (VAT) or other tax information applicable to product-location combinations.
Resource Endpoint
/api/v2/ingest/object/{prefix}TAX{suffix}
/api/v2/ingest/object/{prefix}TAX{suffix}
Supported Methods
| Method | Return Type | Description |
|---|---|---|
| POST | Response | Ingest (create/update) tax records via UPSERT operation |
Request Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Your Personal Access Token (PAT) from platform.peak.ai |
Content-Type | Yes | Must be application/json |
Properties
Primary Keys
- location_id (string) - Foreign key reference to locations
- product_id (string) - Foreign key reference to products
Attributes
| Attribute | Data Type | Required | Description |
|---|---|---|---|
location_id | string | Yes | Location identifier (Primary Key, Foreign Key) |
product_id | string | Yes | Product identifier (Primary Key, Foreign Key) |
created_at | datetime | No | Timestamp when the record was created |
vat | float | No | VAT or tax rate (typically as a decimal, e.g., 0.20 for 20%) |
updated_at | datetime | No | Timestamp when the record was last updated |
Relationships
Outbound References
None
Inbound References
- location - Foreign key
location_idreferences location - product - Foreign key
product_idreferences product
JSON Representation
{
"solutionName": "QP_OOTB",
"data": [
{
"location_id": "LOC-UK-001",
"product_id": "PROD-001",
"created_at": "2025-01-10T08:00:00Z",
"vat": 0.20,
"updated_at": "2025-01-28T10:00:00Z"
}
],
"operationType": "UPSERT"
}
{
"solutionName": "QP_OOTB",
"data": [
{
"location_id": "LOC-UK-001",
"product_id": "PROD-001",
"created_at": "2025-01-10T08:00:00Z",
"vat": 0.20,
"updated_at": "2025-01-28T10:00:00Z"
}
],
"operationType": "UPSERT"
}
Example Request
curl -X POST \
'https://service.peak.ai/ingestion-api/api/v2/ingest/object/QP_TAX_OOTB' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"solutionName": "QP_OOTB",
"data": [
{
"location_id": "LOC-UK-001",
"product_id": "PROD-001",
"created_at": "2025-01-10T08:00:00Z",
"vat": 0.20,
"updated_at": "2025-01-28T10:00:00Z"
}
],
"operationType": "UPSERT"
}'
curl -X POST \
'https://service.peak.ai/ingestion-api/api/v2/ingest/object/QP_TAX_OOTB' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"solutionName": "QP_OOTB",
"data": [
{
"location_id": "LOC-UK-001",
"product_id": "PROD-001",
"created_at": "2025-01-10T08:00:00Z",
"vat": 0.20,
"updated_at": "2025-01-28T10:00:00Z"
}
],
"operationType": "UPSERT"
}'
Important Notes
- Foreign Key Dependencies: Requires valid
product_idandlocation_idto exist in their respective tables - Tax Rate Format: VAT is typically stored as a decimal (e.g., 0.20 represents 20% tax)
- Location-Specific: Tax rates can vary by location due to different jurisdictions
- Product-Specific: Some products may have different tax rates (e.g., reduced rates for essentials)
- Pricing Calculations: Used to calculate final prices including tax
- Custom Attributes: Additional custom attributes can be added using the
/TAX/add-attributeendpoint - Data Validation: All attributes are validated according to their defined data types
Related Resources
- product - Product information
- location - Location details
- product_pricing_daily - Pricing data used with tax rates
- sale - Sales transactions with applied tax