Update manual journal

put
https://api.wafeq.com/v1/manual-journals/{id}/

Endpoint for updating an existing manual journal.

Path Params
stringrequired
Query Params
string

Comma-separated related objects to return in full instead of as IDs. Accepted values: attachments, journal, line_items, line_items.account, line_items.branch, line_items.contact, line_items.cost_center, line_items.employee, line_items.project, line_items.tax_rate. Nested relations are joined with a dot. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.

Body Params

A manual journal entry recorded directly in the general ledger.

attachmentsarray of strings

The attachments linked to this manual journal.

daterequired

The date of the manual journal.

stringlength ≤ 255

External identifier for the manual journal.

line_itemsarray of objects

The line items of the manual journal.

string

The notes of the manual journal.

string

The reference of the manual journal

stringenumDefaults to TAX_EXCLUSIVE

Whether the line amounts of the manual journal include tax. A tax-inclusive line is split into a net amount and a tax amount, each rounded to the currency, and the journal balances on those rounded amounts: for example, 1.05 SAR including 20% tax posts 0.88 net and 0.18 tax, so it balances against 1.06, not 1.05. Reverse-charge tax adds nothing, so a tax-inclusive reverse-charge line counts at its net amount only.

View the enum reference

Allowed:
Headers
string

Client-provided UUID to uniquely identify a request

string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response