Question: How should invoice numbering work in v5?

@david Good call - the date has not been undated to the following day - still shows today

@hillel Seems likely. I’ll check when next version drops.

@brackenhill-mob

Are there any errors in the logs regarding the recurring invoices?

Are these recurring invoices from your v4 migration?

@david

[2021-03-18 12:00:04] production.ERROR: DOMDocumentFragment::appendXML(): Entity: line 2: parser error : chunk is not well balanced {“exception”:"[object] (ErrorException(code: 0): DOMDocumentFragment::appendXML(): Entity: line 2: parser error : chunk is not well balanced at /srv/http/hosts/REDACTED/app/Services/PdfMaker/PdfMakerUtilities.php:142)

I can post the stacktrace if needed

This was a new recurring invoice I created to test the invoice counters but on a client that was migrated from v4. Its on a test server so I can break it as often as you need me to :wink:

I think this may be tied into the other issue you have reported with clients?

@david I’ve responded to the client issue on Slack but if you’re right, would it not affect monthly recurring invoices? At the same time I set up a monthly one as a test and this fired and then stopped setting the next date as it should.

Hi

If I’m not mistaken there is no “share a counter” toggle for invoices and recurring invoices numbers yet. This is mandatory in Belgium. Are there any plans to implement this feature? Have a nice day!

Standard invoices and invoices generated by recurring invoices share the same counter by default.

The recurring invoice itself is a template, its number is just used as an internal identifier.