0

I try to create a ZUGFeRD invoice using the Koink.io SDK in VB.net. My code is:

myTax.setCalculated(New Amount(New java.math.BigDecimal("833.70"), CurrencyCode.EUR))

And in the .xml invoice it is

833.7

But because of the specification it has to be "833.70" (WITH the zero) Is it a problem? Can I solve it?

Thanks

Vad1mo
  • 5,156
  • 6
  • 36
  • 65
Nico H
  • 3
  • 1
  • 3

1 Answers1

0

You can set the stripping of tailing zeros via property files.

io.konik.stripTrailingZeros=false

See the manual: https://konik.io/docs/index.html#konik_configuration

The new lib version does this automatically, you should upgrade to latest version

Vad1mo
  • 5,156
  • 6
  • 36
  • 65