wpovernight / woocommerce-pdf-invoices-packing-slips

Create, print & automatically email PDF invoices & packing slips for WooCommerce orders.
https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Other
99 stars 47 forks source link

Modify UBL Party elements #887

Open MohamadNateqi opened 2 days ago

MohamadNateqi commented 2 days ago

Based on UBL schema and examples, it seems the Contact should become after the PartyLegalEntity to follow the schema order, here: https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/main/ubl/Handlers/Common/AddressHandler.php#L121-L148

image

UBL validator website considers this as an error which will be gone when changing the order:

image

MohamadNateqi commented 2 days ago

@alexmigf, do you see any issue with repositioning them?