atgp / factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files
MIT License
87 stars 22 forks source link

Fix XSD validation bug #10

Closed mahdiabderraouf closed 1 year ago

mahdiabderraouf commented 3 years ago

What's changed

Why ?

Avoid validation wrong profiles with a valid XML. For example : If we have a valid XML file with the "basicwl" profil, this call will return true checkFacturxXsd($validXml, 'wrongprofile').

lucas-gp commented 1 year ago

Thanks for all your contributions @mahdiabderraouf, I was busy and forgot to check merge request in this repo Next time i'll try to be faster ! :smile: