UBL Credit Note — valid Peppol BIS 3.0
Prawidłowa nota kredytowa Peppol BIS Billing 3.0: jedna pozycja, 1 770,00 EUR brutto, z odwołaniem do korygowanej faktury pierwotnej. Nota kredytowa to odrębny typ dokumentu UBL, a nie faktura z kwotami ujemnymi.
UBL 2.1 CreditNote — Prawidłowy
Prawidłowa nota kredytowa Peppol BIS Billing 3.0: jedna pozycja, 1 770,00 EUR brutto, z odwołaniem do korygowanej faktury pierwotnej. Nota kredytowa to odrębny typ dokumentu UBL, a nie faktura z kwotami ujemnymi.
Co pokazuje ten plik
Prawidłowa nota kredytowa Peppol BIS Billing 3.0: jedna pozycja, 1 770,00 EUR brutto, z odwołaniem do korygowanej faktury pierwotnej. Nota kredytowa to odrębny typ dokumentu UBL, a nie faktura z kwotami ujemnymi.
| Transakcje | 1 |
|---|---|
| Suma | 1770,00 € |
Wszystkie strony, numery IBAN i kwoty poniżej są fikcyjne. IBAN-y są poprawne strukturalnie — przechodzą test mod-97 — ale nie należą do żadnego rzeczywistego rachunku.
Zawartość pliku
<?xml version="1.0" encoding="UTF-8"?>
<!--
ValidateFin sample file — UBL credit note, Peppol BIS Billing 3.0 (EN 16931).
Expected validation result: VALID — 1 line, 1 770.00 EUR including VAT,
referencing the original invoice.
All parties and account numbers are fictitious.
Reference page: https://validatefin.com/en/resources/samples/ubl-creditnote-valid
License: CC-BY-4.0
-->
<CreditNote xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
<cbc:ID>AV-2026-0012</cbc:ID>
<cbc:IssueDate>2026-02-15</cbc:IssueDate>
<cbc:CreditNoteTypeCode>381</cbc:CreditNoteTypeCode>
<cbc:Note>Avoir suite à annulation partielle de la ligne 1 — FA-2026-0099</cbc:Note>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<!-- Référence à la facture d'origine -->
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<cbc:ID>FA-2026-0099</cbc:ID>
<cbc:IssueDate>2026-02-01</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<!-- Fournisseur -->
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>Digital Solutions SAS</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>45 avenue de la Technologie</cbc:StreetName>
<cbc:CityName>Lyon</cbc:CityName>
<cbc:PostalZone>69003</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>FR</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>FR72823456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Digital Solutions SAS</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
<!-- Client -->
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>Entreprise Dubois & Associés</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>8 rue du Commerce</cbc:StreetName>
<cbc:CityName>Paris</cbc:CityName>
<cbc:PostalZone>75008</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>FR</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>FR83456789012</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Entreprise Dubois & Associés</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
<!-- TVA -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">270.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">1500.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">270.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>18</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- Totaux -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">1500.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">1500.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">1770.00</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">1770.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<!-- Ligne d'avoir -->
<cac:CreditNoteLine>
<cbc:ID>1</cbc:ID>
<cbc:CreditedQuantity unitCode="DAY">10</cbc:CreditedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">1500.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Description>Annulation — Développement application web (prestation non réalisée)</cbc:Description>
<cbc:Name>Développement applicatif — ANNULÉ</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>18</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">150.00</cbc:PriceAmount>
</cac:Price>
</cac:CreditNoteLine>
</CreditNote>
Skąd wiemy, że te wyniki są aktualne
Każdy plik w tej bibliotece przechodzi przez walidator serwisu przy każdym buildzie. Oczekiwany wynik podany wyżej potwierdza test automatyczny: gdyby plik przestał odpowiadać temu, co głosi ta strona, build by się wywalił. Dwie odziedziczone fikstury naprawiono w ten sposób przed publikacją: trzy numery IBAN nie przechodziły mod-97, a kilka nazw używało znaków spoza podstawowego zestawu SEPA.
Faktura UBL (Peppol BIS 3.0)
- UBL Invoice — valid Peppol BIS 3.0
- UBL Invoice — BR-CO-10 violation
- UBL Invoice — malformed seller VAT identifier
- UBL Invoice — allowances and charges, line and document level
- UBL Invoice — reverse charge (VAT category AE)
- UBL Invoice — VAT exempt (category E) with exemption reason
- UBL Invoice — intra-Community supply (VAT category K)
- UBL Invoice — two VAT rates, one breakdown per rate
- UBL Invoice — BR-CO-10, line sum does not equal BT-106
- UBL Invoice — exempt VAT without an exemption reason (BR-E-10) and a wrong exempt base (BR-E-08)
- UBL Invoice — BR-CO-17, VAT amount does not equal base x rate