Skip to content
QaydTech Beta launch

Journal entries

Reverse a journal entry

post https://your-business.qaydtech.com/api/v1/journal-entries/{id}/reverse

Undoes a posted manual entry with a posted entry the other way round, on the date sent or today. An entry written by a document is undone with its document. Needs journal.reverse.

Permission: journal.write Supports Idempotency-Key to prevent duplicates.

The user the key acts as also needs: Reverse entries

Request

Path parameters

  • id integer required

    The record’s number.

    Example: 42

Headers

  • Authorization string required

    Bearer followed by the API key.

    Example: Bearer qayd_…

  • Accept-Language string optional

    en for English error messages. Arabic by default.

    Example: en

  • Content-Type string required

    application/json with every request that has a body.

    Example: application/json

  • Idempotency-Key string optional

    A unique value so a request sent again creates nothing twice.

    Example: order-10045

Request body application/json

  • date date optional

    The date; today when not sent.

    Example: 2026-11-30

Responses

  • 201 Created
  • Errors · 401 · 403 · 429