Skip to main content

Invoice Configuration Reference

This page documents the most important variables below config['invoice']. The list is based on Invoice configuration files and direct code access in apps/invoice.

Profiles, profile fields, table profiles, language files, and value-assistance definitions are intentionally excluded because they have their own structure references.

Basics

VariableMeaning
invoice.install_invoiceEnables installation and initialization of the Invoice application.
invoice.is_invoice_lightEnables a reduced Invoice variant with simplified ERP, OCR, or accounting behavior.
invoice.multi_clientEnables client-aware processing, mainly through cq_client_accounting and client roles.
invoice.default_client_accountingDefault accounting client when no client can be derived from user, import, or document.
invoice.hide_client_accountingHides client selection in installations with a fixed client.
invoice.is_adminExpression that determines whether the current user is an Invoice administrator.
invoice.is_accountantExpression that determines whether the current user is treated as accounting.
invoice.buha_rolesRoles considered accounting roles.
invoice.allow_edit_addressExpression that controls whether address data may be edited in the Invoice context.
invoice.show_assignmentExpression or Boolean that controls display of accounting-assignment areas.
invoice.show_assigneeControls whether responsibility fields are shown.
invoice.obj_assignee_countNumber of supported responsibility fields in the Invoice UI. Common values are 0 to 4.
invoice.assignee_type_defaultDefault type for empty assignee fields, for example user or group.

Processing and Jobs

VariableMeaning
invoice.thread_amountNumber of parallel worker threads for Invoice processing.
invoice.time_wait_for_logWait time for log or processing checks in tests and asynchronous flows.
invoice.invoice_temp_pathTemporary working directory for Invoice files.
invoice.invoice_archiv_folder_idTarget folder or archive folder ID for archived Invoice documents.
invoice.run_address_ref_mandant_updateEnables a background run that updates address and client references.
invoice.transform_attachmentsEnables preprocessing or conversion of e-mail attachments.
invoice.analyse_content_if_invoiceControls whether content is analyzed only after a document was detected as an invoice.
invoice.get_booking_referenceEnables booking-reference detection, for example from previous postings or AI rules.
invoice.set_auto_approvalEnables automatic approval logic if configured conditions match.
invoice.workflow_engine_enabledEnables the external or generic workflow engine for Invoice approvals.
invoice.workflow_engine_definition_keyWorkflow definition key, for example invoice_approval.
invoice.workflow_engine_start_statesLifecycle states that start the workflow engine.
invoice.allow_unassigned_workflow_tasksAllows workflow tasks without an explicit assignee.
invoice.is_workflowEnables classic workflow behavior in Invoice.
invoice.simple_wfEnables a simplified workflow without the full approval logic.

E-Mail Import and Attachments

VariableMeaning
invoice.email_accountsMailboxes from which Invoice e-mails are retrieved.
invoice.email_accountsxLegacy or alternative key for mail accounts in older configurations.
invoice.att_mail_profileProfile used for stored e-mail attachments.
invoice.att_email_profileAlternative code key for the e-mail attachment profile.
invoice.att_mail_doctypeDocument type for imported e-mail attachments.
invoice.att_mail_client_nameClient used for stored e-mail attachments.
invoice.att_mail_top_folder_nameTop-level folder for e-mail attachments.
invoice.att_mail_lifecycleLifecycle for stored e-mail attachments.
invoice.att_mail_lifecycle_stateInitial lifecycle state for stored e-mail attachments.
invoice.att_mail_directionE-mail direction, typically incoming.
invoice.sender_nameDisplay name for outgoing Invoice notifications.
invoice.alert_test_modeRedirects alert e-mails to a test address for validation.

OCR, PDF, and Barcode

VariableMeaning
invoice.convert_to_searchable_pdfCreates a searchable PDF, usually by OCR.
invoice.convert_to_lower_pdfCreates a reduced PDF variant for preview or further processing.
invoice.pdf_conversion_factorScaling factor for PDF conversion.
invoice.pdf_compression_qualityCompression quality for generated PDFs.
invoice.use_barcode_scanEnables barcode detection.
invoice.use_barcode_splitEnables document splitting by barcode.
invoice.barcode_splitLegacy or test key for barcode splitting.
invoice.barcode_split_valueBarcode value that triggers a split, for example 0101.
invoice.barcode_split_code_typeBarcode type used for splitting, such as QRCODE, CODE128, or CODE39.
invoice.barcode_scan_code_typeBarcode type used for general scanning.
invoice.barcode_import_typeBarcode type used during import.
invoice.barcode_remove_cover_sheetRemoves cover sheets during barcode splitting.
invoice.barcode_prefixPrefix for generated or detected barcodes.
invoice.import_barcode_folderImport folder for barcode files.
invoice.import_qrcode_splitted_folderImport folder for files split by QR code.

Numbers, Document IDs, and Stamps

VariableMeaning
invoice.invoice_counter_formatFormat for generated invoice or receipt numbers, for example %08d.
invoice.creditor_counter_start_valueStart value for creditor counters.
invoice.creditor_counter_prefixPrefix for creditor documents.
invoice.debitor_counter_prefixPrefix for debtor documents.
invoice.receipt_counter_prefixPrefix for receipts.
invoice.creditcard_counter_prefixPrefix for credit-card receipts.
invoice.order_counter_prefixPrefix for orders or order-related documents.
invoice.custom_open_post_idField used as open-item ID or external document ID.
invoice.custom_open_post_booking_text_idField used as booking-text ID for open items.
invoice.custom_booking_idField used as booking ID for creditor documents.
invoice.custom_debitor_booking_idField used as booking ID for debtor documents.
invoice.print_counter_to_invoicePrints the internal document number on the invoice.
invoice.force_stamp_to_invoiceForces a stamp on the invoice document.
invoice.force_stamp_on_state_prefixesStatus prefixes for which stamping is forced again.
invoice.counter_value_fontFont for the printed counter value.
invoice.counter_value_font_sizeFont size for the printed counter value.
invoice.counter_value_color_rgbRGB color for the printed counter value.
invoice.counter_value_left_marginLeft margin for the counter stamp.
invoice.counter_value_bottom_marginBottom margin for the counter stamp.

Archive Paths and Folders

VariableMeaning
invoice.invoice_folder1First folder level for Invoice storage.
invoice.invoice_folder2Second folder level for Invoice storage.
invoice.invoice_debitor_folder3Third folder level for debtor documents.
invoice.invoice_creditor_folder3Third folder level for creditor documents.
invoice.invoice_accounting_folder3Third folder level for pure accounting documents.
invoice.invoice_creditcard_folder3Third folder level for credit-card receipts.
invoice.invoice_order_folder3Third folder level for orders.

Accounting, Reference Data, and Foreign Currency

VariableMeaning
invoice.use_reference_datasEnables use of a reference client for master data or booking references.
invoice.reference_client_accountingClient from which reference data is read.
invoice.use_online_address_interfaceEnables an online interface for address search or address transfer.
invoice.daily_rates_update_urlURL for daily-rate import. The default usually points to the Swiss customs service.
invoice.show_tax_in_assignmentShows tax or VAT fields in accounting lines.
invoice.show_plantno_in_assignmentShows asset or plant fields in accounting lines.
invoice.show_kst_in_assignmentShows cost center 1 in accounting lines.
invoice.show_kst2_in_assignmentShows cost center 2 in accounting lines.
invoice.show_dropdown_in_accounting_areaShows accounting area as dropdown instead of free text.
invoice.check_similar_booking_referencesSearches similar previous booking references.
invoice.amount_similar_booking_referencesNumber of similar booking references considered or displayed.
invoice.allow_generic_ai_booking_rulesAllows AI rules without a specific reference binding.
invoice.ai.modelModel name used for AI-supported analysis or booking-rule detection.

Dashboard and Lists

VariableMeaning
invoice.dashboard_server_sideEnables server-side loading for Invoice dashboards.
invoice.creditor_dashboard_server_sideEnables server-side loading for creditor dashboards.
invoice.dashboard_chunk_initialInitial number of dashboard rows loaded.
invoice.dashboard_chunk_stepNumber of additional rows loaded per step.
invoice.dashboard_search_chunk_initialInitial number of search results loaded.
invoice.dashboard_search_chunk_stepNumber of additional search results loaded per step.
invoice.creditor_dashboard_chunk_initialLegacy or creditor-specific initial loading value.
invoice.creditor_dashboard_chunk_stepLegacy or creditor-specific loading step value.
invoice.dashboard_tiles_show_amountsShows amounts on dashboard tiles.
invoice.dashboard_tiles_hide_amounts_clientsClients for which amounts are hidden on dashboard tiles.
invoice.invoices_result_sort_orderSorting for invoice result lists. Follow the project rule and do not use DESC in DQL.
invoice.order_result_sort_orderSorting for order and inbox lists.
invoice.show_paid_invoices_in_invoices_resultShows paid invoices in result lists.
invoice.show_exported_invoices_in_invoices_resultShows exported invoices in result lists.

Entry Page and Dashboard Layout

VariableMeaning
invoice.show_tags_on_entry_pageShows tags on the Invoice entry page.
invoice.show_drag_and_drop_on_entry_pageShows drag-and-drop upload on the entry page.
invoice.dashboard_layout.show_newsShows news cards in the dashboard.
invoice.dashboard_layout.show_linksShows link cards in the dashboard.
invoice.dashboard_layout.show_dragndropShows drag-and-drop cards in the dashboard.
invoice.dashboard_layout.show_sum_documentsShows document totals in the dashboard.
invoice.dashboard_layout.show_tasksShows tasks in the dashboard.
invoice.dashboard_layout.show_photos_on_entry_pageShows photos or images on the entry page.
invoice.dashboard_layout.show_tags_on_entry_pageDashboard-specific switch for tag display.
invoice.dashboard_layout.default_cardsList of default dashboard cards.
invoice.dashboard_layout.layoutColumn and card layout of the dashboard.
invoice.dashboard_layout.cardStates.*Initial state of individual cards, such as expanded or collapsed.
invoice.tags.tag_boxesDefinition of tag boxes on the entry page including filter expressions.

Tabs and Detail Dialogs

VariableMeaning
invoice.show_invoice_inboxShows the Invoice inbox.
invoice.show_tasks_in_invoiceShows tasks directly in the Invoice context.
invoice.show_creditors_to_pay_tabShows the creditors-to-pay tab.
invoice.show_open_creditor_tabShows the open-creditors tab.
invoice.show_creditor_tabShows the creditor tab on the entry or overview page.
invoice.show_purchase_order_tabShows the purchase-order tab.
invoice.show_order_tabShows the order tab.
invoice.show_creditcard_tabShows the credit-card tab.
invoice.show_receipt_tabShows the receipt tab.
invoice.show_debitor_tabShows the debtor tab.
invoice.show_open_debitor_tabShows the open-debtors tab.
invoice.show_accounting_tabShows the accounting tab.
invoice.show_email_tabShows the e-mail tab.
invoice.show_tasks_tabShows the tasks tab.
invoice.show_clipboard_tabShows the clipboard tab.
invoice.show_splitted_files_tabShows split files.
invoice.show_billable_tabShows the billable tab.
invoice.show_postbox_tabShows the postbox tab.
invoice.show_workflow_tabShows the workflow tab.
invoice.show_accounting_assignment_tabShows the accounting-assignment tab in the detail dialog.
invoice.show_relations_tabShows relations and attachments in the detail dialog.
invoice.show_versions_tabShows versions in the detail dialog.
invoice.show_system_tabShows system information in the detail dialog.
invoice.show_paid_tabShows payment information in the detail dialog.
invoice.show_alerts_tabShows alert integration in the detail dialog when process integration is active.
invoice.show_article_tabShows item lines.
invoice.show_billableEnables billable behavior in forms or reports.
invoice.show_projectShows project fields.
invoice.show_articleShows article or line-item functions.
invoice.show_rising_fieldsShows escalation or price-increase fields.
invoice.show_discount_fieldsShows discount fields.
invoice.show_risingEnables display of escalation information.
invoice.show_discountEnables display of discount information.
invoice.enable_risingTechnically enables escalation logic.
invoice.show_ocrShows OCR text or OCR tab.
invoice.show_previewShows document preview.
invoice.show_adminShows administration information in the form.
invoice.show_alertsShows alert information.
invoice.is_complex_maskEnables a complex accounting form with extended fields.
invoice.ui_group_colors.*Optional color highlighting for UI groups.

Dashboard Tiles

Keys below invoice.dashboard.tabs.creditor.* and invoice.dashboard.tiles.creditor.* control individual tabs and tiles in the creditor dashboard.

VariableMeaning
invoice.dashboard.tabs.creditor.dashboardShows the dashboard tab.
invoice.dashboard.tabs.creditor.tasksShows the tasks tab.
invoice.dashboard.tabs.creditor.recentShows recently edited invoices.
invoice.dashboard.tabs.creditor.markedShows marked invoices.
invoice.dashboard.tiles.creditor.workTile for general work queues.
invoice.dashboard.tiles.creditor.accounting_workTile for accounting work.
invoice.dashboard.tiles.creditor.my_approvalsTile for the current user's approvals.
invoice.dashboard.tiles.creditor.no_assignmentTile for invoices without accounting assignment.
invoice.dashboard.tiles.creditor.errorsTile for error cases.
invoice.dashboard.tiles.creditor.no_clientTile for invoices without client.
invoice.dashboard.tiles.creditor.approvedTile for approved invoices.
invoice.dashboard.tiles.creditor.exported_paidTile for exported or paid invoices.
invoice.dashboard.tiles.creditor.in_reviewTile for invoices in review.
invoice.dashboard.tiles.creditor.in_approvalTile for invoices in approval.
invoice.dashboard.tiles.creditor.controllingTile for controlling steps.
invoice.dashboard.tiles.creditor.buha_in_progressTile for invoices being processed by accounting.
invoice.dashboard.tiles.creditor.overdueTile for overdue invoices.
invoice.dashboard.tiles.creditor.my_review_dashboardTile for the personal review dashboard.

Reports, Status Messages, and Alerts

VariableMeaning
invoice.report_dashboard_widgets.report_my_review_dashboard.*Enables widgets in the personal review dashboard, such as KPIs, approval rate, trend, area, suppliers, summary, and data table.
invoice.report_dashboard_widgets.report_my_review_dashboard.color_limit.greenThreshold for green rating in the review dashboard.
invoice.report_dashboard_widgets.report_my_review_dashboard.color_limit.orangeThreshold for orange rating in the review dashboard.
invoice.report_dashboard_widgets.report_my_review_dashboard.color_limit.redThreshold for red rating in the review dashboard.
invoice.status_message_broadcast_enabledEnables broadcast of status messages.
invoice.status_message_broadcast_include_adminIncludes administrators in status messages.
invoice.status_message_broadcast_cache_ttl_secCache lifetime for status messages.
invoice.status_message_broadcast_rolesRoles allowed to receive status messages.

Purchase Order

VariableMeaning
invoice.purchase_order.offer_text_engineText-analysis engine for quotations or order documents.
invoice.purchase_order.offer_text_timeout_secTimeout for text analysis.
invoice.purchase_order.offer_text_ocr_timeout_secTimeout for OCR text analysis.
invoice.purchase_order.offer_text_ocr_dpiOCR resolution for quotation analysis.
invoice.purchase_order.offer_text_address_pagesNumber of pages considered for address analysis.
invoice.purchase_order.offer_text_min_lenMinimum length for usable quotation text.
invoice.purchase_order.offer_visual_llm_fallbackAllows visual LLM fallback when text analysis is insufficient.
invoice.purchase_order_mail.template_folder_idFolder ID for purchase-order mail templates.
invoice.purchase_order_mail.template_folder_parent_idParent folder of the mail templates.
invoice.purchase_order_mail.template_folder_nameDisplay name of the template folder.
invoice.purchase_order_mail.subjectDefault subject for purchase-order mails.
invoice.purchase_order_mail.bodyDefault body for purchase-order mails.

MQTT and External Agents

VariableMeaning
invoice.mqttInvoice-specific MQTT configuration.
invoice.mqtt.request_topicTopic for requests to the MQTT agent.
invoice.mqtt.status_topicTopic for status replies from the MQTT agent.

Admin Menu

VariableMeaning
invoice.invoice_admin_menuConfigures tiles, groups, links, jobs, and permissions of the Invoice admin page.

Typical fields per menu entry:

FieldMeaning
sectionGroup name in the admin menu.
labelVisible title of the link or job.
descriptionShort description shown on the admin page.
iconIcon name from the configured icon set.
urlTarget URL or job execution URL.
pushControls whether navigation uses push or SPA behavior.
confirmControls whether a dialog is shown before job execution.
aclRoles allowed to see or execute the entry.
orderSort order within the group.

Test Configuration

VariableMeaning
invoice.testContainer for Invoice test settings.
invoice.test.clean_environmentCleans the test environment before a test run.
invoice.test.use_unittestsEnables unit-test execution in Invoice test jobs.
invoice.export_pathExport path used by tests or export checks.

Customer-Specific Areas

VariableMeaning
invoice.gemeindeCustomer-specific area for municipality logic. Substructures such as social or soziales control special municipal cases.

Administrator Notes

  • Maintain Boolean switches consistently as real YAML booleans (true/false).
  • Expressions such as invoice.is_admin, invoice.is_accountant, invoice.allow_edit_address, and invoice.show_assignment are evaluated in some places. Changes should be tested carefully.
  • DQL sort expressions in invoice.invoices_result_sort_order and invoice.order_result_sort_order must follow the project convention and not use DESC.
  • Profiles and table profiles are not part of this page. They are documented separately.