Commit Graph
16 Commits
Author SHA1 Message Date
Cédric Krier daad7943e6 Set the invoice type on invoice line from UBL invoice
The invoice type is needed to set the right account from the product.

Closes #14547
2026-01-23 15:29:07 +01:00
Cédric Krier 7c8e7bc23f Group tax lines per tax having the same UNECE codes in UBL invoice 2026-01-23 13:02:19 +01:00
Cédric Krier 0c503833d3 Do not group taxes by tax group in UBL invoice and credit note
The Peppol UBL rules limit to a single TaxTotal.

Closes #14542
2026-01-23 11:05:13 +01:00
Cédric Krier 680344c92b Format float and computed Decimal using fixed-point notation
This avoid the usage of scientific notation.
For float we must convert them to Decimal to get a precision large enough to
show all coefficient digits.
For computed Decimal (which are thus not rounded) we must normalized them first
to avoid trailing 0.

Closes #14522
2026-01-20 09:19:12 +01:00
Cédric Krier 8ae58308ce Use schemeID to search for identifier of the same type
Closes #14516
2026-01-19 11:43:28 +01:00
Cédric Krier 90ef7c822c Use the company IDs from UBL as identifier
Closes #14515
2026-01-19 11:48:55 +01:00
Cédric Krier 451a5b9fc7 Create the party name using the registration name of the legal entity from UBL first
Closes #14514
2026-01-19 11:34:14 +01:00
Cédric Krier b211b58884 Always set a value for invoice line unit from UBL invoice and credit note
The search for similar line needs to test if the unit has a value or not.

Closes #14544
2026-01-23 12:12:27 +01:00
Cédric Krier 59e04dbf59 Do not search unit of measure for unit code ZZ and XZZ from UBL
The mutually defined unit should let the system choose a default unit.

Closes #14537
2026-01-22 17:39:35 +01:00
Cédric Krier 91c5a087fb Use root prefix to retrieve the namespace of UBL document
Closes #14490
2026-01-14 14:39:08 +01:00
Cédric Krier c60436c82a Split the UBL OrderReference field into sale reference and sale number
Closes #14452
2025-12-29 12:36:26 +01:00
Cédric Krier 500860c21d Use unit from similar line if not set yet by the UBL definition
Closes #14408
2025-12-05 10:18:23 +01:00
Cédric Krier 8f824d3d2a Fix typo in super call of _parse_2_line_reference
Closes #14407
2025-12-05 10:03:01 +01:00
Cédric Krier 6149c357f2 Add parser for UBL invoice and credit note 2025-11-20 13:08:49 +01:00
Cédric Krier 595c553a56 Add e-documents as reports on invoices 2025-10-29 15:55:04 +01:00
Cédric Krier 6e9981228a Add edocument_ubl module 2025-11-14 16:36:06 +01:00