API essentials

View Markdown

Amounts and dates

Use decimal strings for money and quantities. The same calculation code rounds lines, applies discounts and calculates tax as in the app. Use YYYY-MM-DD for document and payment dates. Events use ISO 8601 timestamps. Recurring schedules keep an IANA timezone and local start time to preserve calendar behavior across daylight saving changes.