# Invoice Processor

`wp_invoices` extracts and validates normalized invoice data from PDF and image
documents. It is being migrated incrementally to Platform App Standard v1.

The current Standard v1 surface contains `health_v1`. The historical `test`
and `process` actions remain temporarily available for active consumers, but
they are not part of the v1 contract.

The canonical public invoice shape is versioned in
`contracts/invoice_result.v1.schema.json`; `services/canonical_result.py`
normalizes the reusable AI extraction into that shape and independently checks
its arithmetic.

See [APP_MANUAL.md](APP_MANUAL.md) for the public contract, security boundary,
testing instructions, and migration status.

The optional `wordpress-pack/wp-invoices-wp` source provides the
`[ams_invoice_processor]` upload and result interface through Bridge Core.
