You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails with "The field Tax Exemption Reason is mandatory":
java.lang.NullPointerException: The field Tax Exemption Reason is mandatory
at java.util.Objects.requireNonNull (Objects.java:348)
at org.apache.commons.lang3.Validate.notNull (Validate.java:225)
at com.premiumminds.billy.core.util.BillyValidator.mandatory (BillyValidator.java:76)
at com.premiumminds.billy.portugal.services.builders.impl.PTGenericInvoiceEntryBuilderImpl.validateInstance (PTGenericInvoiceEntryBuilderImpl.java:76)
at com.premiumminds.billy.portugal.services.builders.impl.PTInvoiceEntryBuilderImpl.validateInstance (PTInvoiceEntryBuilderImpl.java:55)
at com.premiumminds.billy.core.services.builders.impl.AbstractBuilder.build (AbstractBuilder.java:64)
at com.premiumminds.billy.core.services.builders.impl.GenericInvoiceBuilderImpl.addEntry (GenericInvoiceBuilderImpl.java:203)
at com.premiumminds.billy.core.util.NotOnUpdateInterceptor.invoke (NotOnUpdateInterceptor.java:52)
at dummyApp.app.DemoApp.createPtInvoice (DemoApp.java:162)
at dummyApp.app.DemoApp.run (DemoApp.java:67)
at dummyApp.app.App.main (App.java:27)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:832)
The correct behaviour is to not fail and issue the invoice with a price of 0.
The text was updated successfully, but these errors were encountered:
to reproduce
The correct behaviour is to not fail and issue the invoice with a price of 0.
The text was updated successfully, but these errors were encountered: