15 Commits
Author SHA1 Message Date
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 a89a70f6f3 Add Factur-X format to invoice report 2026-09-15 08:32:03 +02:00
Cédric Krier 3a5da53376 Manage the sign on LineTotalAmount instead of BilledQuantity in UN/CEFACT 16B-CII
Closes #15006
2026-08-11 12:10:58 +02:00
Cédric Krier 37ca2e5340 Set PostOfficeBox when address has a post box in UN/CEFACT 16B-CII
Closes #15005
2026-08-11 12:08:26 +02:00
Cédric Krier 1b0836a846 Set format attribute for DateTimeString in UN/CEFACT 16B-CII
Closes #15004
2026-08-11 12:05:48 +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 80a69bb67d Replace getattr by hasattr in report 2026-06-09 13:01:23 +02:00
Cédric Krier e7294b45c7 Add VAT exemption code on tax
Closes #14573
2026-02-04 10:12:56 +01:00
Cédric Krier e9c1da7197 Set a default undefined payment mean in UNCEFACT/CII invoice
Chorus-pro requires to have a SpecifiedTradeSettlementPaymentMeans.
2026-03-16 10:20:09 +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 b0ff152120 Format the party's identifier codes
Closes #14485
2026-01-16 16:56:47 +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 f11bb1bd42 Update UN/CEFACT CrossIndustryInvoice template to use structured address
Use unstructured street for Line and fill StreetName and BuildingNumber with
structured values.
2025-04-27 17:28:49 +02:00
Cédric Krier 604ae9aa31 Use empty string if street is None when rendering UNCEFACT 16B-CII
Closes #12425
2023-07-22 16:31:25 +02:00
Cédric Krier e0e6ed690b Prepare migration to monorepo 2022-12-16 18:25:54 +01:00