Commit Graph
28 Commits
Author SHA1 Message Date
Cédric Krier 033e35cd88 Format numeric values in XML templates using fixed-point notation
Closes #14948
(grafted from 6cb75123ee20de6cf90ff1bbd6189b64e4d1f739)

--HG--
branch : 8.0
2026-07-15 18:07:22 +02:00
Cédric Krier 35291a25e2 Replace getattr by hasattr in report
(grafted from 1a0574d67704d7acbd7c224d906a4be12aaf3423)

--HG--
branch : 8.0
2026-06-09 13:01:23 +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 e7294b45c7 Add VAT exemption code on tax
Closes #14573
2026-02-04 10:12:56 +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 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 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 f1eea7c11e Correctly render address streets in UBL invoice for Peppol
Closes #14566
2026-01-30 15:24:46 +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 93fad8dcf5 Use only a limited set of tags for PEPPOL Address
Closes #14494
2026-01-14 14:47:25 +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 4df308a430 Do not set country subentity code in Peppol UBL
UBL-CR-225: A UBL invoice should not include the AccountingCustomerParty Party
PostalAddress CountrySubentityCode
2025-12-22 12:33:05 +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