Export receipt task confirmation
curl --request GET \
--url https://clarus-api.com/api/tasks/{id}/export_receipt_task_confirmation \
--header 'Authorization: Bearer <token>' \
--header 'X-Clarus-Subdomain: <api-key>'import requests
url = "https://clarus-api.com/api/tasks/{id}/export_receipt_task_confirmation"
headers = {
"Authorization": "Bearer <token>",
"X-Clarus-Subdomain": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-Clarus-Subdomain': '<api-key>'}
};
fetch('https://clarus-api.com/api/tasks/{id}/export_receipt_task_confirmation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"task_id": 1,
"status": "COMPLETED",
"product_code": "SKU-001",
"confirmed_quantity": 10,
"location_code": "A-01-01",
"completed_at": "2026-03-12T10:30:00Z"
}{
"error": "<string>"
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}Goods In: Receipts
Export receipt task confirmation
Generate and download a receipt confirmation document for a completed receipt task. Returns the confirmation in the configured export format (CSV, JSON, or EDI).
GET
/
api
/
tasks
/
{id}
/
export_receipt_task_confirmation
Export receipt task confirmation
curl --request GET \
--url https://clarus-api.com/api/tasks/{id}/export_receipt_task_confirmation \
--header 'Authorization: Bearer <token>' \
--header 'X-Clarus-Subdomain: <api-key>'import requests
url = "https://clarus-api.com/api/tasks/{id}/export_receipt_task_confirmation"
headers = {
"Authorization": "Bearer <token>",
"X-Clarus-Subdomain": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-Clarus-Subdomain': '<api-key>'}
};
fetch('https://clarus-api.com/api/tasks/{id}/export_receipt_task_confirmation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"task_id": 1,
"status": "COMPLETED",
"product_code": "SKU-001",
"confirmed_quantity": 10,
"location_code": "A-01-01",
"completed_at": "2026-03-12T10:30:00Z"
}{
"error": "<string>"
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}Behavior
- Generates a receipt confirmation document for the specified task
- The task must be a completed receipt (RCV) task
- Output format depends on system configuration (CSV, JSON, or EDI)
- Returns the file content directly in the response body
- Returns 404 if the task does not exist
- Returns 422 if the task is not a completed receipt task
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
FlowAuthorization Code
- Authorization URL
- https://clarus-api.com/oauth/authorize
- Token URL
- https://clarus-api.com/oauth/token
FlowClient Credentials
- Token URL
- https://clarus-api.com/oauth/token
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Path Parameters
The unique identifier of the completed receipt task
Response
Receipt task confirmation document
Receipt confirmation data in the configured export format

