---
title: "List Invoices/Credit Notes To Sync"
method: GET
path: "/v1/accounting/sync-tasks"
tags: ["API / Accounting", "Use case / Accounting"]
---

# List Invoices/Credit Notes To Sync

`GET /v1/accounting/sync-tasks`

## Query parameters

- `billing_entity_code` string, nullable

## Response `200`

Successful Response

- AvailableTasks
  - `tasks` AvailableTask[], required
    - `id` string, uuid, required
    - `invoice_id` string, uuid, nullable
    - `task_type` 'POST_INVOICE' | 'POST_INVOICE_PURCHASE' | 'POST_CREDIT_NOTE' | 'POST_CREDIT_NOTE_PURCHASE' | 'PAID_INVOICE' | 'PAID_INVOICE_PURCHASE' | 'REFUNDED_CREDIT_NOTE' | 'REFUNDED_CREDIT_NOTE_PURCHASE' | 'DISPATCH', required
    - `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)
