diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index 1b0acf4..bf1da1e 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -1857,17 +1857,9 @@ class DeclarationTVA_PDF $line20_entries = $this->getLine20Accounts($declaration, $ca3_lookup); $entries = array_merge($entries, $line20_entries); - // Add VAT result on account 4456700 - $vat_result_entry = $this->getVATResultEntry($declaration, $ca3_lookup); - if ($vat_result_entry) { - $entries[] = $vat_result_entry; - } + // VAT result is now handled in getBalancingEntries method - // Add rounding difference - $rounding_entry = $this->getRoundingEntry($declaration, $ca3_lookup); - if ($rounding_entry) { - $entries[] = $rounding_entry; - } + // Rounding difference is now handled in getBalancingEntries method // Add balancing entry to ensure debits equal credits $balancing_entries = $this->getBalancingEntries($declaration, $entries);