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
Thanks @forwardever! I'm actually working on some changes now to help accessing Extension properties and avoiding panics, so I'll let @apardods know behind the scenes so we can incorporate this asap.
Hi! I have a added a fix in the UBL repo. It now returns an error explaining the document type extension must be present. However, adding the eu-en16931-v2017 addon in the $addons field of the invoice automatically adds that field from the document type, so you would never need to manually set the field! Let me know if you have any questions
okay, thank you for the quick response. I will build some xrechnungen in the next couple of days and will let you know if I face any problems and if the suggested solution (addon) works.
nil pointer exception is thrown if Tax property is not initialized
xinvoice.ConvertToXRechnungUBL(env)
github.com/invopop/gobl.ubl@v0.1.0/internal/gtou/gtou.go
line: 52
InvoiceTypeCode: inv.Tax.Ext[untdid.ExtKeyDocumentType].String(),
expected behaviour: should work also without initialization of Tax property
The text was updated successfully, but these errors were encountered: