The problem is solved by unlinking existing invoices from the receipt documents and then generating new invoices based on the corrected TMZ documents.
How to do it
The essence of the correction lies in the following sequence of actions:
- Unlink the invoices that are already linked to the current service receipt documents. As long as the old link remains, the system will not allow the corrected ESF to be pulled correctly — you need to break this link first.
- Make corrections to the TMZ documents (receipt). After unlinking the invoice, the receipt documents become available for editing.
- Generate new invoices again — now based on the corrected TMZ documents. After that, the system should correctly link the document with the new ESF, and the data will be pulled in without errors.
This order is necessary precisely because 1C does not allow changing data in a document if it is already firmly linked to the old invoice — the system "sees" the old link and blocks changes or does not allow pulling in the new ESF. Breaking the link and re-generating the invoice based on the updated document removes this restriction.
Frequently Asked Questions
Why can't you just edit the receipt without touching the invoice?
Because the link between the receipt document and the already generated invoice in 1C is fixed. If the old link is left in place, the system will continue to rely on the previous data and will not pick up the corrections from the ESF.
Do I need to delete the old invoice completely?
It's specifically about unlinking — that is, breaking the document's link with the current invoice, after which a new one is generated based on the already corrected TMZ.
What order is best to follow to avoid confusion?
First unlink the old invoice, then correct the receipt document itself (TMZ), and only after that — generate a new invoice based on the updated document.
