Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Invoice rounding tests were failing because posting creates G/L Account lines with blank VAT Product Posting Group, but no VAT Posting Setup existed for that combination (e.g., 'DOMESTIC' + '').

Changes

  • Extended ConfigureVATPostingSetup() to create VAT Posting Setups with blank VAT Product Posting Group for all VAT Business Posting Groups
  • Configured these setups with 0% VAT and Tax Category 'O' for invoice rounding scenarios

Tests Fixed

  • ExportXml_SalesInvoiceLCY_InvRounding_Positive
  • ExportXml_SalesInvoiceLCY_InvRounding_Negative
  • ExportXml_SalesInvoiceLCY_InvRounding_NegativeTwoDiffVAT
  • ExportXml_SalesCrMemoLCY_InvRounding_Positive
  • ExportXml_ServiceInvoiceLCY_InvRounding_Positive

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 28, 2026 18:30
Co-authored-by: Groenbech96 <17690329+Groenbech96@users.noreply.github.com>
Co-authored-by: Groenbech96 <17690329+Groenbech96@users.noreply.github.com>
Copilot AI changed the title [WIP] Add PEPPOL tests Fix VAT Posting Setup for invoice rounding in PEPPOL tests Jan 28, 2026
Copilot AI requested a review from Groenbech96 January 28, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants