Feature requested
REST API — flag an invoice as sent without delivering it
Typical use case
Hello,
I’m building an integration that pushes invoices from our own CRM into QuickFile using
the REST API (v2, api-beta.quickfile.co.uk). The CRM is the system of record: it
generates the invoices and already delivers them to customers itself. QuickFile’s job in
this setup is purely the accounting side.
The problem is that invoices created via POST /invoices land as Draft, and per your
own guidance a draft doesn’t affect the nominal accounts. So everything the integration
posts stays outside the ledger, reports and VAT return until someone opens QuickFile and
acts on each one, which rather defeats the automation.
What I’ve tried:
POST /invoices/sendwithby_email: falseandby_snail_mail: false— the call is
accepted, but the invoice stays in Draft.by_email: truewould send the customer a second copy of an invoice they have already
received from us, so it isn’t an option.by_snail_mail: truephysically posts a letter and draws on snail mail credit, so it
certainly isn’t an option.
The behaviour I need already exists in the web interface. On the Send Invoice screen
there’s an option to flag the invoice as sent without notifying the client, which is
exactly right — I just can’t reach it programmatically.
As far as I can tell there is no route to it today. In the v2 Swagger spec no request
schema carries a status, sent or draft field; InvoicesUpdateRequest is identical to
InvoicesCreateRequest; and auto_activate only applies to recurring profiles. The
legacy XML/JSON Invoice_Send exposes the same three delivery fields and no more.
So, two questions:
- Have I missed something? An account setting, or another endpoint that takes an invoice
out of Draft without delivering it? - If not, could this be added? Either would work for us:
- a flag on
POST /invoices/send, for examplemark_as_sent: truealongside both
delivery options set to false; or - a settable
statusonPOST /invoicesandPUT /invoices/{id}.
- a flag on
Any integration where delivery happens upstream will hit this, so I suspect I’m not the
only one asking. Happy to test either against the beta.
Thanks,
Andy