Preview quote calculations
POST
https://app.speybooks.com/api/v1/quotes/previewCalculates line totals, VAT, and quote total without creating a quote. Use this for real-time UI previews while the user is editing line items.
All amounts are in minor units (pence). The calculation is deterministic and stateless — no data is persisted.
This endpoint is stateless and idempotent. No authentication scope is required beyond a valid API key.
Body parameters
lines array<object> requiredShow child parameters
quantity number requiredunitPrice integer requiredvatRate number requiredResponse
200 Default Response
Show response fields
lines array<object>Show child attributes
net integertotal integervat integersubtotal integertotal integervatTotal integer