R28258 Invoice - Set VAT Deviation

Code R28258
Entity Crm.Invoicing.Invoices Entity
Name SetVATDeviation
Attribute -
Layer Back-End
Events First Releasing
Modify Yes
Action If InvoiceOptions.VATDeviationDocumentAmountType has value,

then calculate VAT Deviation ( as described in the topic VAT Deviation) and set the calculated value as a Input Amount of the the Document Amount Type set as VAT Deviation Document Amount Type for the current document.
Description VAT deviation is the difference between the amount of the document, when the VAT is calculated on the Total Amount of the document and the amount that is obtained when VAT is charged on the Unit Price of each of the lines (for more information, see VAT Deviation). The field VAT Deviation value is managed by the current rule and can't be edited by the users.
Message -
Introduced In Version
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.