MarminDeveloper Docs

Update a register entry


Updates an existing document register entry by ID. Use the same request body as for creation. Only entries created via the register API (for example source_type NON_E_INVOICE) are typically editable. A valid bearer token is required.

PUT /api/document-registers/{id}
Authorization: Bearer {jwt_token}
Content-Type: application/json
Path parameters

ParameterTypeRequiredDescription
idstring
Required
The ID of the register entry to update.
Request body

Same as Create a Purchase Register Entry: include all required and optional fields (org_id when required, issue_date, transaction_date, accounting_period, document_number, document_type, entry_type, note, parties, document_lines, document_currency_code, document_source, payable_amount, tax_amount).

Response

Status code: 200 OK

Response body:

Returns the updated register entry with request data and system‑generated fields.

Error responses

400 Bad Request

Invalid request body or validation failed. Returns an errors object with field names as keys and error messages as values.

401 Unauthorized

Authentication required or invalid token.

404 Not Found

Register entry not found.

500 Internal Server Error

An error occurred while processing the request.

Next