Using Billing Candidates and Accounting Export
Turn accepted quotes and completed work orders into invoice drafts, keep source identity clean, and understand the provider-neutral accounting export contract.
Before you start
- Finance is enabled for the workspace.
- Accepted quotes or completed work orders are linked to CRM accounts.
- Billing contacts, PO rules, and credit-hold state are reviewed on the account.
Expected outcome
Ready-to-invoice work is converted into invoice drafts without duplicate billing or lost source traceability.
Open the ready-to-invoice queue
- Open
Finance. - Switch to
Ready to Invoice. - Filter by source or customer when the queue is large.
- Review quote candidates and work-order candidates separately.
Candidates appear when:
- A quote is accepted, linked to a CRM account, and not already covered by an active invoice.
- A work order is completed, linked to a CRM account, and not already covered by an active invoice.
Routine contract candidates are visible as a future source category, but recurring contract charge candidates are not enabled yet.
Review each candidate before invoicing
- Open the source quote or work order from the candidate row.
- Check the customer account and billing contact.
- Check credit hold and PO-required badges.
- Check subtotal, VAT, and total.
- Check candidate age so older accepted or completed work is not missed.
- Create the invoice only when the source is ready to bill.
A candidate can show Needs amount when the source total is zero or incomplete. Review the source before creating a draft.
Create an invoice draft from a candidate
- Select
Create Invoiceon the candidate. - Confirm the source is
quoteorwork_order. - Set the due date if needed.
- Review subtotal and VAT rate.
- Confirm billing email, billing address, payment terms, PO number, external reference, and notes.
- Acknowledge credit-hold or missing-PO warnings when they apply.
- Create the invoice.
The dialog preserves deliberate zero values. Blank values are omitted or cleared according to the linked candidate and account defaults.
Avoid duplicate invoices
Finance uses a source identity key for candidate and invoice matching:
| Source | Source key format |
|---|---|
| Quote | quote:<quote-id> |
| Work order | work_order:<work-order-id> |
| Routine contract | routine_contract:<contract-id> |
Active invoices for the same source hide that source from the candidate queue. Void and written-off invoices are terminal for candidate matching.
Understand accounting export
Accounting export serializes a loaded CRM invoice into a provider-neutral payload.
The export includes:
- Invoice identity, organization, account, invoice number, status, source, and idempotency key.
- Issue and due dates.
- Currency, subtotal, VAT rate, VAT amount, total, PO number, and external reference.
- Customer billing email and billing address.
- Optional contact identity, email, and phone.
- Line items from quote line items where available, or a fallback invoice line.
- Sync state for provider, external ID, synced time, and last error code.
The exported payload contains customer billing details and must not be logged in full.
Troubleshooting
| Problem | What to check |
|---|---|
| An accepted quote is missing from candidates | Confirm it has a CRM account and no active invoice with the same quote source. |
| A completed work order is missing | Confirm the work order is completed, account-linked, and not already invoiced. |
A candidate says Needs amount | Check the source total and update the quote or work order before invoicing. |
Create Invoice is disabled for routine contracts | Routine contract billing candidates are reserved for future recurring charge storage. |
| Accounting export would create duplicates | Check the invoice idempotency key and source key before exporting again. |
Reference surfaces
- Use Finance for route-level candidate and invoice behavior.
- Use Quotes and Work Orders to correct source records.
- Use the Database Table Atlas to trace source keys and invoice tables.
Using Finance, Receivables, and Billing
Use Deucalion Finance to review overdue invoices, organization receivables, and workspace billing without exposing platform-only controls.
Using Operations Dashboards
Use Dashboard, Data Quality, Workforce Productivity, and PPM Forecast to find operational pressure and open the desk that owns the fix.