Skip to main content
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>'
{
  "task_id": 1,
  "status": "COMPLETED",
  "product_code": "SKU-001",
  "confirmed_quantity": 10,
  "location_code": "A-01-01",
  "completed_at": "2026-03-12T10:30:00Z"
}

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

Authorization
string
header
required

OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.

X-Clarus-Subdomain
string
header
required

The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.

Path Parameters

id
integer
required

The unique identifier of the completed receipt task

Response

Receipt task confirmation document

Receipt confirmation data in the configured export format