Shows the draft bill bill.store would save from the same body, without writing anything and without a confirmation token: the supplier (vendor, its id and name, null for a supplier not created yet); per line the account, the tax rule (import_vat true for an import VAT rule), the quantity, unit price, entered amount, and the net, VAT and gross the bill carries; the bill totals; the currency and exchange_rate (status base_currency, document_date with the ECB rate of the document date and its source, or at_approval when no ECB rate can be read now and approval takes the document date's); and period_state (open, locked or filed) for the document date. vendor_id may be left out when the bill is for a supplier not created yet: send supplier_name instead, and optionally supplier_vat_id and supplier_country_id (the supplier's VAT number and country, used only by the zero-rate check Cybooks AI runs in the app's chat, and never saved), and the supplier's own checks (the duplicate number among them) run on bill.store. Every other check of bill.store applies, with the same refusals (bill_line_account_unavailable, bill_line_tax_rule_unavailable, bill_line_tax_rule_mismatch, a duplicate supplier number). attachment_ids is checked as on bill.store and echoed as attachments (id, name). Requires the bills:write OAuth scope.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
