bexio Manual Entries
bexio_manual_entriesList, create, update, or delete manual accounting entries and their attached files in bexio accounting.
Instructions
Manage manual accounting entries (bookings) and their attached files (bexio accounting 3.0 API). Actions: "list" (all manual entries; optional limit/offset), "create" (payload required: type — manual_single_entry/manual_compound_entry/manual_group_entry —, date, entries array with debit_account_id, credit_account_id, tax_id, tax_account_id, description, amount, currency_id, currency_factor), "update" (id + payload; PUT replaces the entry, so send type, date and the full entries array; locked entries — is_locked=true — cannot be edited), "delete" (permanently delete a manual entry by id — cannot be undone), "next_reference_number" (reference number suggested for the next manual entry). File actions cover BOTH scopes: with entry_id they target a single entry LINE (types manual_single_entry/manual_group_entry); without entry_id they target the COMPOUND entry itself (type manual_compound_entry). "list_files" (id, optional entry_id, optional limit/offset), "get_file" (id + file_id, optional entry_id; returns the file content — pass save_path to write it to disk instead of returning base64 inline), "add_file" (id, optional entry_id, plus file_path OR content_base64 + file_name; uploads multipart/form-data, max 12MB, formats PNG/JPG/JPEG/GIF/DOC/DOCX/XLS/XLSX/PPT/PPTX/PDF), "delete_file" (id + file_id, optional entry_id; removes the connection between file and entry — cannot be undone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Manual entry id (required for update/delete and all *_file actions) | |
| limit | No | Max results for "list"/"list_files" | |
| action | Yes | Operation to perform | |
| offset | No | Results to skip for "list"/"list_files" | |
| file_id | No | File id (required for get_file/delete_file) | |
| payload | No | Manual entry fields. Required on create and update (PUT sends the full entry): type, date, entries. | |
| entry_id | No | Id of a single entry LINE within the manual entry. Provide it for *_file actions on entry lines (manual_single_entry/manual_group_entry); omit it to address files of a manual_compound_entry. | |
| file_name | No | For "add_file": file name to upload as (defaults to the basename of file_path) | |
| file_path | No | For "add_file": path of a local file to upload | |
| save_path | No | For "get_file": write the file to this path instead of returning base64 content inline | |
| content_base64 | No | For "add_file": base64-encoded file content (alternative to file_path; requires file_name) |