Drills and maintenance contracts
Drills list is filtered by drill kind and paginated. A PDF report link is shown only to users with view:safety_reports; use its locale option and verify the downloaded file. The mounted screen does not create or edit a drill. Contracts can be filtered by status and paginated under view:safety. Generating a matured-period invoice is a separate action requiring manage:safety_plans (or admin:all); it calls the document service and should be treated as a financial document creation, not a preview.
Verify the created invoice and avoid blind retries after an ambiguous error. If the action is absent, access is denied, or the service errors, ask a safety-plan administrator; the page itself does not expose a repair or contract-edit workflow.
Operational details
Related: Sites, devices and inspection register · Drills and maintenance contracts
Generate invoice runs immediately for an ACTIVE contract with at least one closed billing period and an existing customer in the workspace. It creates one Italian/EUR draft containing the due period lines and contract VAT; no invoice number is assigned until issuance. It then advances last/next billing dates. If that last update fails, a draft may already exist while the period still appears due: inspect documents before retrying. The action does not capture payment, transmit an invoice or record an inspection.