Overview
PRISM (INVOICING)
Automating your invoice compliance lifecycle with Prism.
Prism is TaxStreem's invoice intelligence layer. It validates, extracts, and classifies invoice data for tax compliance โ returning VAT treatment recommendations, WHT deduction amounts, and anomaly flags in a single synchronous response. Prism also handles vendor onboarding by storing and associating vendor tax profiles for future invoice analysis.
๐งพ What Does Prism Do?
Prism exposes three core operations, each targeting a distinct stage of the invoice lifecycle:
| Endpoint | Description |
|---|---|
| Analyze Invoice | Submit a single structured invoice and receive a compliance assessment with VAT treatment and WHT recommendations. |
| Batch Analyze | Submit up to 500 invoices in a single request for high-volume compliance processing. |
| Vendor Upload | Register a vendor's tax profile so Prism can apply the correct WHT rate and VAT status on future invoices automatically. |
โ๏ธ How Invoice Analysis Works
When you submit an invoice, Prism inspects the line items, counterparty tax profile, and transaction context to determine the applicable tax treatment. The response includes:
๐ Compliant invoices can be routed directly to Flux for VAT or WHT filing without any additional transformation.
๐ข Vendor Tax Profiles
Registering a vendor via the Vendor Upload endpoint stores their Tax ID, VAT status, and applicable WHT rate against your account. Once uploaded:
- Prism automatically applies the correct WHT rate to any future invoice submitted for that vendor.
- You do not need to pass VAT status or WHT rate per-invoice โ Prism resolves them from the stored profile.
- Updates to a vendor profile take effect on all subsequent invoice submissions.
๐ ๏ธ Using Prism via API
Prism expects exact, validated values in every request. Avoid free-text fields where enumerated values are defined.
"taxId": "1234567890123").invoiceNumber field as your idempotency key โ duplicate submissions with the same number are rejected.