This validation checks if VAT codes and VAT groups on the header match those on the lines.
| Item | Description |
|---|---|
| Technical Name | validate_vat_invoice_header_logistic_lines |
| Availability | Generic |
When does this validation fail?
- VAT code of a selected line is not present in the list of VAT codes on the header
- VAT group of the line differs from that on the header or associated VAT code
When does this validation not fail?
- No selected PO lines
Additional information
Additional Information:
- The VAT codes of all selected PO lines are checked, including the VAT code of the cost lines.
Regarding cost lines, the cost lines for ERP Dyn365 F&O are ignored here. - The VAT codes of the header consist of either the VAT code of the header or the VAT codes of the VAT lines.
More information
An overview of all business validations is available in the article Business validations - overview.