It does not replace the original invoice: both remain on record, and together they reflect the final transaction.
Rather have this calculated for you?
kontora generates your tax forms box by box, tells you how much to set aside and reminds you before every deadline.