anskaffelser / ehf-postaward-g2

Specifications part of EHF Post-Award, 2nd generation.
33 stars 37 forks source link

2 or more digits in Amount nodes #251

Closed stoivo closed 6 years ago

stoivo commented 6 years ago

Please make sure this box is checked before submitting your issue - thank you!

Issues related to PEPPOL BIS or rules part of PEPPOL BIS must be sent to rfc@peppol.eu.

Your issue here: I have seen that there are amount nodes which accept 4 digits while others accept only two. Is there a place where I can look this up?

cac:LegalMonetaryTotal -> cbc:TaxExclusiveAmount has to be two or less cac:InvoiceLine -> cac:Price -> cac:AllowanceCharge -> cbc:Amount can be more

Would be really great if I could look it up from here. https://vefa.difi.no/ehf/gefeg/invoice/2.0/gu1.htm?https://vefa.difi.no/ehf/gefeg/invoice/2.0/gu200.htm

klakegg commented 6 years ago

This is documented in the implementation guide.

stoivo commented 6 years ago

From this (5.4) I assume it should always be 2 decimals and if there is more we can ignore them.