num-num/ubl-invoice

Bug when using "ContractDocumentReference". Section in wrong place when generating Invoice

markovic131 opened this issue · 3 comments

When using "setContractDocumentReference" on Invoice, it generates invalid UBL Invoice 2.1 XML.

According to the XSD, when generating the XML Invoice, the section "cac:ContractDocumentReference" should be right before "cac:AdditionalDocumentReference".

Bratan, je l' koristiš ovaj lib za eFuckture? Nadji me negde online, da forkujemo ovo k'o ljudi i dopunimo cim treba, posto ovaj PR boga pitaj kad ce biti mergeovan

brtdv commented

Once again, thank you for your fix. This issue is fixed in #41 and will be released later today in v1.15 👍

This is a life safer. Thanks!