https://bugs.kde.org/show_bug.cgi?id=380286

            Bug ID: 380286
           Summary: Exported account templates only includes incomple tax
                    informations
           Product: kmymoney4
           Version: 4.8.0
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: file
          Assignee: kmymoney-de...@kde.org
          Reporter: ralf.habac...@freenet.de
  Target Milestone: ---

Adding tax informations to an account results into the following extract from
an kmy file: 

 <ACCOUNT currency="EUR" description="" parentaccount="A000073"
opened="1900-01-01" number="" lastmodified="" type="12" id="A000075"
lastreconciled="" institution="" name="8400 Erlöse USt. 19%">
   <KEYVALUEPAIRS>
    <PAIR key="Tax" value="Yes"/>
    <PAIR key="VatAccount" value="A000082"/>
    <PAIR key="lastStatementDate" value=""/>
   </KEYVALUEPAIRS>
  </ACCOUNT>

  <ACCOUNT currency="EUR" description="" parentaccount="A000080"
opened="2017-05-25" number="" lastmodified="" type="10" id="A000082"
lastreconciled="" institution="" name="1776 Umsatzsteuer 19%">
   <KEYVALUEPAIRS>
    <PAIR key="VatRate" value="19/100"/>
    <PAIR key="lastStatementDate" value=""/>
   </KEYVALUEPAIRS>
  </ACCOUNT>

Exporting this accounts to an account template file contains only an incomplete
subset of required tax information:

    <account type="12" name="8400 Erlöse USt. 19%">
     <flag value="Yes" name="Tax"/>
    </account> 
    <account type="10" name="1776 Umsatzsteuer 19%"/>
    <account type="10" name="1780 Umsatzsteuer-Vorauszahlung"/>

where it should be:

    <account type="12" name="8400 Erlöse USt. 19%">
     <flag value="Yes" name="Tax"/>
     <flag value="<related-vat-account>" name="VatAccount"/>
    </account> 

    <account type="10" name="1776 Umsatzsteuer 19%">
     <flag value="19/100" name="VatRate"/>
    </account>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to