opencost-de / opencost

openCost data formats, documentation and examples
GNU General Public License v3.0
4 stars 0 forks source link

Amount_invoice in net and gross #7

Closed bschweighofer closed 1 year ago

bschweighofer commented 1 year ago

Can the "amount_invoice" be indicated in net and in gross; (possibly with reference to the corresponding amount of VAT)?

aw-bib commented 1 year ago

This seems to be unclear in our textual documentation. The XML / XSD imageins net/gross to be modeled like:

     <opencost:amounts_paid>
        <opencost:amount_paid currency="EUR" type="apc">1500.00</opencost:amount_paid>
        <opencost:amount_paid currency="EUR" type="vat">14.25</opencost:amount_paid>
      </opencost:amounts_paid>

IOW the VAT is a fee type, hence it follows that the amount of the fee as such (here: apc) should be net.

patrickda commented 1 year ago

An other option would be to add the VAT in % makes it easier to spot differences.

vossviola commented 1 year ago

The net/gross distinction and the type "vat" for amount_paid should definitely be mentioned in the textual documentation.

bschweighofer commented 1 year ago

An other option would be to add the VAT in % makes it easier to spot differences.

We decided to use currency as the computer can do the calculation. We only define an exchange format.