Amend an invoice will create a new one?

Well …i am not accountant …feedback I have feedback from them:

  1. Amending has to modify same invoice and not create new one. Invoice number shouldn’t be changed

  2. Invoice number must be assigned when invoice is submitted and not in draft mode.

There are multiple discussions about this behavior throughout the forums, but no one has actually come up with a spec on how this should be taken forward.

Someone will have to come up with a spec and post on github.

Some links of previous discussions on this:

Why would you want to change an accounting document that has been cancelled? I agree with ERPNext’s approach. When the invoice is still ‘Draft’, you can change it. If it’s ‘Submitted’, you can no longer change it.[quote=“JoEz, post:5, topic:25127”]
Amending has to modify same invoice and not create new one. Invoice number shouldn’t be changed
[/quote]
I am yet to find any strong argument to support this claim.

You should view the suffix as version number. So SINV-00001-1 is first amendment of SINV-00001 etc.

1 Like

I’m not sure what you consider a strong argument …if an accountant tells me (a developer) i need to modify invoice once submitted …what i should answer? …keep your actual ERP?

I still not getting your point …are you an accountant? from accountant point of view SINV-00001-1 is not a new version but a completely new invoice series. Again, what i should answer them?

by the way none of you are answering my second question:

Let’s have an example:

Sales Invoice 1, 2,3,4 are in draft mode …none of that will be submitted for any reason; Sales Invoice 5,6,7 …n will be submitted. So accountant told me …where are Sales Invoice from 1 to 4? …simply answer Draft mode, never submitted because were “pro forma” invoices …accountant reply …well guy …you must declare that invoice …you need progressive counter and dates …so? What i should answer? Can anyone give me strong arguments on this?

1 Like

I’d be happy to open an issue, but seem no one care about this argument …most of the answer are “that’s by design” …kind of frustrating …

This is true. But I’ve seen multiple European users and North American users have concerns with this behavior. Indian users may have problems with the new GST Tax laws being implemented.

I think a detailed proposal (not just issue stating a problem, but a proposed solution) would invite much useful discussion across the globe, and help come up with a roadmap.

I don’t believe there is a trivial solution for this. So there would need to be detailed use cases discussed and ideas floated.

I’m an accountant.

Accountants actually don’t like accounting documents being changed. The usual procedure for an invoice that has been created but no longer needed will be to issue a credit note. As an auditor also, I would have to evaluate a company’s accounting software and controls if I find out that accounting documents can be changed.

ERPNext and SAP which I have experience with issues invoice numbers before it is finalized. If the sequence of the invoice number is an issue, you can start with a Quotation and then once it has been determined that there will no longer be any changes, create the invoice from the quotation.

Well …i reported what italian accountant told me …so if you like or not that’s it …at this point i think it’s better to fork ERPNext and have a localization with all the feature they need in place …

I agree with you …what u think better open a new one or re-open and old issue? So that we can continue discussion there …

Open a new one but reference the former discussion. If it’s a regulatory requirement in Europe, I think ERPNext should reconsider it.

Yes, but split each requirement (amend logic, draft naming) into its own issue for individual discussion.

Hopefully people with experience using other systems like SAP, Oracle, SAGE, etc will help in figuring out how other systems handle these requirements.

Here in Spain is as @joez says, you can not skip numbers or not mantain de sequence or create subseries. Even more, now here a point-of-sale tickets are ‘simplified invoices’, like full invoices without customer data against the default account, but they have to print all information and taxes as a complete invoice. A billed invoice is inmutable, if you want change you must create a invoice that complement that with own number (here are called ‘facturas rectificativas’, i dont known how translate it sorry … )

Not being able to have numbering jumps, as @joez also says, it does not make sense to number invoices in draft state (in spain), or at least with the same series as the validated and accounted.

In other erps, what I have seen is that there are two types of secuence methods for the series. The ‘strict’ ones, which fulfill the above, and the ‘normal’ ones that would work as is now erpnext.

You can check it with the tryton demo in their website so you do not have to mount anything or try an propietary erp. In the configuration of each module you choose which method to use. What if you can, in the case of the invoices, is to start another series when you close the fiscal year, for example putting the year as a prefix of the series in each fiscal year.

I am a programmer, but we have financiers in the company, any doubt I can consult without problem.

This is a complex issue because every country has its system. The ideal approach will be not to do it in one way or another, but to create an open method (I do not think bad idea the tryton approach) and grow with community feedback.

These workflows are not for pleasure, or from the internal workflow of companies. They are rules dictated by the governments and the fiscal departments, are necessary to respect the laws of each country.

3 Likes

The reason you would need to edit an invoice is because if an invoice has not been paid by its due date the company can start adding on late payment fees and interest

But shouldn’t that be a new invoice, if you would just add that to the existing invoice you would end up with multiple versions of the same invoice(number). If you would communicate with your debtor about one of these versions how are you going to set them apart?

Here in The Netherlands a submitted invoice can’t be changed, if you want to add extra fees or discount later on you will have to send a new invoice.

If you want to cancel the invoice you have submit you will have to make a credit invoice.

So from this point of view the amend function should create:

  1. a credit note for the original invoice
  2. a copy of the existing invoice in draft mode that you can edit and submit.

The versions numbers should be in the same range as the existing invoice.

I also don’t see a reason why a draft invoice wouldn’t be submitted and therefore no problem with the numbering. But maybe I’m missing the point here

I am not sure about the Netherlands but here we add it to the current invoice This creates an amended invoice not a duplicate. Software that is only availble in the UK allows late payment charges and interst to be put on in line with the Governments guidelines on what thise amounts are.

[quote=“Softwareprofs, post:19, topic:25127, full:true”]
I am not sure about the Netherlands but here we add it to the current invoice This creates an amended invoice not a duplicate.[/quote]

And this amended invoice get’s a new invoice number?

no…

@all

I am not sure about the people, who say you can not have “gaps” in your invoice numbers.

As far as I know, all the Governments or their institutions require is a unique number. They don’t have to be without any gaps. As far as I remember, thats a common misinformation.

My information is based on my current knowledge of the German requirements.

If someone has references to really prove that it’s wrong information, please post them, so we can check it with our accountants as well.

EDIT: Small example:

Some people have invoice numbers like 2017-07-0005. When the next month starts it would be 2017-08-0001. How will any accountant, or any other person who is looking into your accounts, be able to know if the invoice numbers 2017-07-0006, 0007, 0008 and so on, were ever existing? That wasn’t a issue for all the companies who do it like this until now, and probably it will never be.

3 Likes

Thanks! Some times one needs to take the noise out and start with the facts.
Does any one have any government document that says all invoice number had to be sequential without gaps? I think having a unique number on the invoice makes sense but that would be best practice, but not a law. And if Germany has not been perspective (from what I read) then I don’t believe Spain would be.
Cheers

1 Like

Then the person receiving the invoice would have 2 different invoices with the same number? That’s strange. Where’s the audit trail?

2 Likes