Commit Graph
28 Commits
Author SHA1 Message Date
Cédric Krier e7294b45c7 Add VAT exemption code on tax
Closes #14573
2026-02-04 10:12:56 +01:00
Cédric Krier 7dac232ad3 Do not divide LineExtensionAmount by a quantity of zero from UBL invoice
The unit price of such line can be the LineExtensionAmount.

Closes #14673
2026-03-14 09:58:22 +01:00
Cédric Krier 942c3cdb15 Filter out empty references and numbers when joining them from sales for UBL invoice
Closes #14652
2026-03-06 01:13:25 +01:00
Cédric Krier a3493a3f2f Fill payment means when parsing UBL invoice 2026-02-16 10:49:41 +01:00
Cédric Krier c636664c17 Use only line extension amount to set unit price of UBL invoice line
Closes #14493
2026-02-16 17:22:16 +01:00
Cédric Krier b0ff152120 Format the party's identifier codes
Closes #14485
2026-01-16 16:56:47 +01:00
Cédric Krier c260313c23 Use the legal notice of tax as tax exemption reason in UBL invoice
Closes #14572
2026-02-04 10:03:48 +01:00
Cédric Krier ce6c415c69 Search unit of measure with enough digits for the quantity in UBL invoice and credit note
Closes #14541
2026-01-23 23:49:58 +01:00
Cédric Krier 16dd9ae446 Set product on invoice line base on allowance/charge reason code from UBL invoice 2026-01-28 15:58:01 +01:00
Cédric Krier 19d4b91df2 Render allowance and charge in UBL invoice 2026-01-26 15:38:06 +01:00
Cédric Krier 49bcf51aca Import UBL allowance/charge as invoice lines
Closes #14524
2026-01-26 12:08:41 +01:00
Cédric Krier 7620829d61 Search for similar invoice line with the same category of unit for UBL invoice line
Closes #14548
2026-01-23 18:50:42 +01:00
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