Journal Entries
Accounting journal entries (con_asientos / con_movimiento).
📄️ Get journal entry by ID
Returns a single journal entry including its lines.
📄️ Update journal entry
Full replacement of an existing journal entry.
📄️ Delete journal entry
Deletes a manual journal entry (`entryType=ASI`). System-generated entries must be removed from their source document.
📄️ Merge-patch journal entry
RFC 7396 merge-patch over `application/merge-patch+json`. Send only the fields you want to change; include a field with value `null` to remove it. Use the `If-Match` header for optimistic concurrency control.
📄️ List journal entries
Returns a paginated list of journal entries with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `accountingDate:desc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends.
📄️ Create journal entry
Creates a new manual journal entry via the internal commands gateway.
📄️ Prototype journal entry for a creation form
Returns a non-persisted journal entry pre-populated with backend defaults (`enabled=true`, `draft=true`, current company, default series and fiscal year). Optional JSON hints: `companyId`, `activityId`, `copyFromId`. Call `POST /api/v2/journal-entries` afterwards to persist.