PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2025 → factur-X, la validation iPDFA3b PDF/A3 ne marche plus
factur-X, la validation iPDFA3b PDF/A3 ne marche plus
Débuté par AlexisPERR, 13 avr. 2026 12:29 - 1 réponse
Membre enregistré
12 messages
Posté le 13 avril 2026 - 12:29
Il y a quelques semaines, mes PDF avec le xml factur-x.xml intégré se validaient parfaitement sur le site
https://services.fnfe-mpe.org/account/home

Mais plus maintenant !
Il y a une erreur de "inconsistent glyph width information", décrite sur cette page :
https://martin.hoppenheit.info/blog/2018/pdfa-validation-and-inconsistent-glyph-width-information/

De plus, il y a une erreur de schematron, et cela même avec l'exemple fourni par PCSOFT dans la classe fxFacturX

procedure private RemplisFacture_EN16931(facture is fxFacturX) : Void


Voici les 3 erreurs en détail :


Spec. ISO 19005-3:2012 clause 6.2.11.5 test 1 PDF/A-3 error
For every font embedded in a conforming file and used for rendering, the glyph width information in the font dictionary and in the embedded font program shall be consistent.
Level: Glyph
Context:
root/document[0]/pages[0](3 0 obj PDPage)/contentStream[0](4 0 obj PDContentStream)/operators[211]/usedGlyphs[0](Arial 160 0 0)


not(ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:SellerTradeParty/ram:DefinedTradeContact/ram:DepartmentName) XML Schematron error
[CII-SR-465]-Only one BT-41 element is allowed on an invoice.
Location of the error: /*:CrossIndustryInvoice[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]/*:SupplyChainTradeTransaction[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]/*:ApplicableHeaderTradeAgreement[namespace-uri()='urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100'][1]


not(ram:BuyerTradeParty/ram:DefinedTradeContact/ram:PersonName and ram:BuyerTradeParty/ram:DefinedTradeContact/ram:DepartmentName) XML Schematron error
[CII-SR-466]-Only one BT-56 element is allowed on an invoice.
Location of the error: /*:CrossIndustryInvoice[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]/*:SupplyChainTradeTransaction[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]/*:ApplicableHeaderTradeAgreement[namespace-uri()='urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100'][1]
Membre enregistré
12 messages
Posté le 13 avril 2026 - 17:00