Skip to main content

Submit an online/retail consumer sale → get Fawtara QR + invoice reference

POST 

/api/v1/pos/sale

Submit a paid consumer order from an online store or retail POS — the endpoint the WooCommerce plugin calls on payment complete.

GoRoute will build the Fawtara QR (nine-tag TLV per Appendix D.2) and a scannable PNG, map the cart to the canonical PINT OM model, validate it, compute the deterministic invoice UUID (which also makes retries idempotent — a double-clicked checkout returns the original invoice), and schedule the Tax Data Document within 24h. A consumer sale is never transmitted over Peppol (SolArch §5.5).

The QR and invoice reference return synchronously, so the store renders them on the order-confirmation page while the customer is still looking at it.

Request

Responses

Successful Response