> ## Documentation Index
> Fetch the complete documentation index at: https://kb.manage.management/llms.txt
> Use this file to discover all available pages before exploring further.

# Accounts Payable & Invoice Upload

> Capture single supplier invoices, import bulk ZIP archives, review AI-drafted invoice batches, and enforce multi-tier approvals in Bills & Payments.

Supplier invoice PDF extracted via AI OCR, checked for duplicates and 30-day bank cool-off, and approved for payment

Capture single PDFs, bulk ZIPs, or AI/MCP draft batches with nominal coding, duplicate detection, and s42 Trust checks

Manage.Management provides a dedicated **Bills & Payments** workspace for managing agents to capture, code, verify, and approve supplier invoices across single buildings or an entire portfolio while enforcing Landlord and Tenant Act 1987 Section 42 trust isolation.

Open **Money → Bills & Payments** in the sidebar:

* **Portfolio view (`All buildings`)**: `/management/invoices` — view and filter bills across every building in your portfolio, upload multi-building **Bulk invoice ZIP** archives, and review **AI-drafted invoice batches**.
* **Building view**: `/management/building/<buildingId>/bills` — capture single supplier invoices, record manual bills, review building payables, and build **Payment Runs & Remittances**.

Switching the **Building** selector in the header cleanly scopes all tabs (**Upload & Review**, **Bills**, and **Payment Runs & Remittances**) so draft selections never carry across buildings.

***

## Single invoice upload & AI extraction

Select a building and open the **Upload & Review** tab to use **Supplier invoice capture**:

**1. Drop or select an invoice file**

Drag and drop a **PDF**, **PNG**, **JPG**, or **TXT** invoice (up to **25 MB**) onto **Drop supplier invoice PDF, text, or receipt here**. Every file is verified against its binary signature and stored in a private, building-scoped vault bucket. You can also connect a delegated mailbox via **Manage Microsoft 365 connection** to capture inbound supplier bills.

**2. Verify extracted amounts & statutory dates**

Manage.Management extracts the supplier name, VAT registration, invoice number, **Invoice Date**, **Due** date, **Incurred (s20B)** date (anchoring the 18-month Landlord and Tenant Act 1985 Section 20B recovery window), and **Net / VAT / Gross** figures in integer pence.

> [!NOTE]
>
> Extraction never guesses a VAT rate. If Net, VAT, and Gross figures on the document do not balance, the bill fails closed for human verification rather than assuming 20% VAT.

**3. Code supplier, RICS nominal account & schedule**

Confirm or select the **Supplier**, **Expense account** (active RICS nominal code in your building's `TRUST` book, such as `5000`–`5800`), **Service charge schedule**, and **Filing category**. Click **View invoice** at any time to inspect the original document via a short-lived signed URL.

**4. Save coding for approval**

Click **Save coding** to store your nominal, schedule, and s20B coding in `pending_review` ready for approval. Need to log a bill manually without OCR? Open the **Bills** tab and click **Record Supplier Invoice** to enter supplier, PO/Work Order references, RICS nominal account, and amounts directly.

### Duplicate detection

Manage.Management blocks duplicate bills automatically:

* **Exact duplicate lock**: Checks active building invoices (excluding `rejected` and `cancelled`) using a deterministic SHA-256 hash of supplier, normalised invoice number, and gross pence (`This invoice is already captured for this building`).
* **Fuzzy duplicate warning**: Flags bills from the same supplier within `±1p` where either the invoice number matches or the invoice date falls within `±7 days`.

***

## Bulk invoice upload (`.zip` + CSV)

On the **Upload & Review** tab (available in both **All buildings** and single-building views), use **Bulk invoice upload** to import batches of historical or monthly contractor bills together with their source PDFs.

**1. Prepare your CSV & PDF archive**

Click **Download CSV template** (`manage-management-invoice-template.csv`) or export an invoice register from **Blocks Online** (headers are auto-detected). Place **one `.csv` file** and all matching **`.pdf` invoices** into a single `.zip` archive:

* Max **100 MB** compressed / **250 MB** unpacked
* Up to **500 files** in the ZIP (`.csv` and `.pdf` only; encrypted or path-traversal archives are rejected)
* CSV up to **5 MB** and **2,000 invoice rows**; each PDF up to **25 MB**

**2. Run the 4-stage pre-flight check**

Click **Choose invoice ZIP** (or drag and drop). Nothing is saved to the database yet — Manage.Management runs four automated checks:

1. **Checking archive & PDF safety**
2. **Matching CSV columns & PDFs**
3. **Verifying suppliers & duplicates**
4. **Ready for review**

**3. Review mappings, schedules & exceptions**

Inspect every staged row in the interactive review table (`Building`, `Supplier`, `Nominal / budget heading`, `Invoice`, `Amount`, `PDF match / review`). Adjust **CSV column mapping** or confirm similar suppliers inline.

> [!WARNING]
>
> **Nominal & schedule safety**: Every CSV `Budget heading` is validated against the target building's active `TRUST` expense accounts and schedules. If a heading is unrecognised or maps ambiguously across multiple schedules on a building, the row is held back with `Unmapped or ambiguous nominal/budget heading` rather than guessing. Click **Download Error CSV** to export any failed rows for correction.

**4. Commit valid invoices to pending review**

Click **Import N valid invoices**. Source PDFs are uploaded to private storage and bills are committed atomically into **Bills** with status `pending_review` and full `finance_audit_log` provenance.

***

## Reviewing AI-drafted invoice batches (MCP)

When a **Portfolio Admin** enables `Read + Draft Writes` on the [Remote MCP AI Connector](https://kb.manage.management/integrations/ai-mcp.md), connected assistants (**Claude**, **ChatGPT**, **Perplexity**, **Microsoft Copilot**, or **Google Gemini**) can stage batches of up to **100 draft invoices** at a time.

1. Open **Money → Bills & Payments → Bills**. When drafts are waiting, an **AI-drafted invoices awaiting review** banner displays the assistant provenance badge and a **Review & Submit** button (`/management/money/bills/batches/<batchId>`).
2. **Mandatory attached file gate**: Every row must have an attached invoice file (`PDF`, `PNG`, `JPEG`, or `WEBP` up to **10 MB**) before it can be selected. Rows missing a file show a red **File Required** badge and an inline **+ Attach Invoice PDF / File** button.
3. **Duplicate guard**: Items flagged **Possible Duplicate** are unticked by default and require explicit opt-in; confirmed active duplicates are skipped automatically.
4. Click **Check & Submit N Ready Invoices** to promote verified items into `Bills & Payments` at `pending_review` (or **Discard Batch**). Promoting a batch never posts to the ledger or initiates a bank payment.

***

## Invoice lifecycle, approvals & fraud controls

| Status | Meaning |
| - | - |
| `pending_review` | Captured, manually recorded, bulk-imported, or promoted from an AI batch; awaiting coding or approval |
| `flagged` | Held for dual-control bank detail verification or Purchase Order / Works Order cap review |
| `matched` | Matched to an active Purchase Order within authorised spend and invoice-count caps |
| `awaiting_approval` | First approval recorded on a bill that requires two distinct approvers |
| `approved` | Approved and posted as a balanced accrual journal in the building's `TRUST` book (`Dr Expense` / `Cr 4010 Creditors Control`) |
| `scheduled` | Included in an exported payment run; fund cash is reserved (`scheduled_payment_date`), awaiting bank settlement |
| `paid` | Settled against an actual bank statement debit line (`paid_at` = bank settlement date) |
| `rejected` / `cancelled` | Declined or voided; excluded from payment runs and duplicate locks |

### Multi-tier approvals & separation of duties

Default invoice approval policies scale automatically with gross spend:

* **Under £1,000**: 1 approver (`Property Manager`, `Senior PM`, `Director`, or `Finance Admin`)
* **£1,000 to £5,000**: 1 senior approver (`Senior PM`, `Director`, or `Finance Admin`)
* **Over £5,000**: **2 distinct approvers** (`Director` + `Finance Admin`)

Across all tiers:

* **No self-approval**: The user who uploaded or created an invoice cannot approve it or clear its bank verification flag.
* **PO variance & statutory gates**: Variance over **10%** against a linked Purchase Order requires a logged override reason. Approval also validates mandatory **s20B `incurred_on` dates**, **Section 20 consultation caps**, and blocks **Building Safety Act 2022 Schedule 8** relevant-defect recharges to leaseholders.
* **Supplier bank RBAC & 30-day cool-off**: Only `Finance Admin`, `Portfolio Admin`, or `Finance Manager` roles can create or edit supplier bank details (stored encrypted in Vault with Confirmation of Payee `match` and callback verification). Any user who created or modified a supplier's bank details within the last **30 days** is automatically blocked from approving invoices or payment runs paying that supplier.
* **Section 42 Trust isolation**: Every building's funds sit in an isolated `TRUST` ledger book. Surplus in a Reserve Fund can never offset a shortfall in a Service Charge Fund.

## Next steps

> [card] [Batch Payment Runs & Reconciliation](https://kb.manage.management/management/payment-runs-and-reconciliation.md)
>
> Build dual-approved payment runs, export NatWest Bankline or Bacs Standard 18 files, send remittances, and settle runs on actual bank dates.

> [card] [AI Assistants & MCP Connection](https://kb.manage.management/integrations/ai-mcp.md)
>
> Stage draft supplier invoice batches from Claude, ChatGPT, Perplexity, Copilot, or Gemini with human review.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.