Cédric Krier
7b809a4bf9
Do not normalize Decimal value in XML document
...
Some third party expect to always have the trailing 0 in the format of currency
amount. So the amount coming from the database must already have the right
precision to format.
Closes #15085
2026-09-28 11:26:56 +02:00
Cédric Krier
1f5997247b
Format numeric values in XML templates using fixed-point notation
...
Closes #14948
2026-07-15 18:07:22 +02:00
Cédric Krier
4875c428e4
Render prepaid amount in UBL invoice
...
Closes #14766
2026-04-13 17:30:06 +02:00
Cédric Krier
794b61b163
Filter the MIME type of the additional documents in UBL allowed by the specification
...
Closes #14708
2026-03-26 08:14:45 +01:00
Cédric Krier
15878ffbd5
Render invoice payment means in UBL and UNCEFACT
2026-02-13 18:28:24 +01:00
Cédric Krier
2b7c3f9f89
Update template to use invoice taxes of lines as invoice tax
...
Closes #14609
2026-02-16 13:31:03 +01:00
Cédric Krier
7573e8fbfd
Set BillingReference to Invoice and Credit Note UBL
...
Closes #14517
2026-01-19 12:17:43 +01:00
Cédric Krier
24a53758fd
Use invoice taxes from line to render tax category in UBL Invoice
...
Closes #14571
2026-02-04 09:53:06 +01:00
Cédric Krier
19d4b91df2
Render allowance and charge in UBL invoice
2026-01-26 15:38:06 +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
dd7d8c5459
Use ZZ as default unit code for UBL
2026-01-22 17:41:04 +01:00
Cédric Krier
17d953ae7d
Fill buyer's item identification in UBL invoice
...
Closes #14470
2026-01-06 17:42:51 +01:00
Cédric Krier
2c8dc24f38
Do not set SellersItemIdentification UBL tag if product has no code
...
PEPPOL-EN16931-R008: Document MUST not contain empty elements.
Closes #14458
2026-01-01 15:50:55 +01:00
Cédric Krier
f612e2f872
Set only one payment term for Peppol UBL and only if the description is not empty
...
Closes #14454
2025-12-29 17:28:36 +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
Maxime Richez
5e71dcc564
Set only one customer identification in UBL Invoice and CreditNote
...
UBL-SR-16: Buyer identifier shall occur maximum once
Closes #14443
2025-12-22 18:34:35 +01:00
Cédric Krier
7c9a14dc34
Do not set percentage in tax subtotal in Peppol UBL
...
UBL-CR-499: A UBL invoice should not include the TaxTotal TaxSubtotal Percent
2025-12-22 12:37:22 +01:00
Cédric Krier
e3f4ec32d1
Do not set payment terms due date in Peppol UBL
...
UBL-CR-463: A UBL invoice should not include the PaymentTerms PaymentDueDate
2025-12-22 12:36:04 +01:00
Cédric Krier
9302fe27d7
Do not set payment terms amount in Peppol UBL
...
UBL-CR-459: A UBL invoice should not include the PaymentTerms Amount
2025-12-22 12:38:51 +01:00
Cédric Krier
259b19006e
Do not set country name in Peppol UBL
...
UBL-CR-166: A UBL invoice should not include the AccountingSupplierParty Party
PostalAddress Country Name
UBL-CR-229: A UBL invoice should not include the AccountingCustomerParty Party
PostalAddress Country Name
2025-12-22 12:37:52 +01:00
Cédric Krier
f7d90215f0
Fill DueDate in UBL Invoice and CreditNote
...
The BR-CO-25 Peppol rule requires to have a DueDate if there is no payment term
description. So the simplest solution is to always fill DueDate.
Closes #14441
2025-12-22 11:17:26 +01:00
Cédric Krier
6e9981228a
Add edocument_ubl module
2025-11-14 16:36:06 +01:00