---
title: "Report Sync Status For Invoice/Credit Note"
method: POST
path: "/v1/accounting/sync-tasks/{id}/update-status"
tags: ["API / Accounting", "Use case / Accounting"]
---

# Report Sync Status For Invoice/Credit Note

`POST /v1/accounting/sync-tasks/{id}/update-status`

Reports the sync status for an invoice/credit note task. No billing_entity_code is required.

## Path parameters

- `id` string, uuid, required

## Request body

- TaskUpdateInput — Update task status on completion/failure. The failure field can be used to provide more information on failure.
  - `status` 'COMPLETED' | 'FAILED', required
  - `failure` TaskFailureStatus
    - `error_type` 'USER_INPUT_ERROR' | 'INTERNAL_ERROR' | 'NOT_SUPPORTED', required
    - `error_message` string, nullable — (User visible) error message

## Response `200`

Successful Response

- TaskUpdate — Update task status result.
  - `status` 'TODO' | 'COMPLETED' | 'FAILED' | 'WAITING', required

## Other responses

- `400` — Bad Request — invalid input or malformed request
- `401` — Unauthorized — missing or invalid authentication credentials
- `403` — Forbidden — insufficient permissions for this operation
- `422` — Validation Error
- `429` — Too Many Requests — rate limit exceeded. See the `Retry-After` header
- `500` — Internal Server Error
- `503` — Service Unavailable — temporarily unable to handle the request

---

[API](https://skmtc.dev/qargo/apis/qargo-tms-api.md) · [All operations](https://skmtc.dev/qargo/apis/qargo-tms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qargo/qargo-tms-api/revisions/17297902e7ce/schema)
