ValidateFin

RO e-Factura — credit note in a foreign currency (FCN)

Een creditnota (FCN) in SEK — en ANAF accepteert ze. Ze toont wat BR-RO-030 werkelijk eist: RON moet voorkomen als factuurvaluta (BT-5) OF als btw-boekingsvaluta (BT-6), niet noodzakelijk allebei. Hier is BT-5 SEK en BT-6 RON, wat de regel vervult. Ze draagt ook typecode 381, toegestaan op een creditnota en verboden op een factuur.

RO_CIUS 1.0.1 · UBL 2.1 — Geldig

Een creditnota (FCN) in SEK — en ANAF accepteert ze. Ze toont wat BR-RO-030 werkelijk eist: RON moet voorkomen als factuurvaluta (BT-5) OF als btw-boekingsvaluta (BT-6), niet noodzakelijk allebei. Hier is BT-5 SEK en BT-6 RON, wat de regel vervult. Ze draagt ook typecode 381, toegestaan op een creditnota en verboden op een factuur.

RO e-Factura-factuur (Roemenië, ANAF) RO_CIUS 1.0.1 · UBL 2.1 Ministerul Finanțelor / ANAF — RO_CIUS 1.0.1 (ro16931-ubl-1.0.9)Verwacht resultaat: Geldig

Wat dit bestand laat zien

Een creditnota (FCN) in SEK — en ANAF accepteert ze. Ze toont wat BR-RO-030 werkelijk eist: RON moet voorkomen als factuurvaluta (BT-5) OF als btw-boekingsvaluta (BT-6), niet noodzakelijk allebei. Hier is BT-5 SEK en BT-6 RON, wat de regel vervult. Ze draagt ook typecode 381, toegestaan op een creditnota en verboden op een factuur.

Transacties1
TotaalSEK 500,00
Datum in het bestand2018-07-31
Laatst geverifieerd: Licentie: CC-BY-4.0

Alle partijen, IBAN's en bedragen hieronder zijn fictief. De IBAN's zijn structureel geldig — ze doorstaan de mod-97-controle — maar horen bij geen enkele echte rekening.

Bestandsinhoud

<?xml version="1.0" encoding="UTF-8"?>
<!--

    Licensed under European Union Public Licence (EUPL) version 1.2.

-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
<!--                                                                                -->
<!--     Note - The purpose is to illustrate a credit note instance with minimum    -->
<!--     contents technically (but probably insufficient from business perspective) -->
<!--                                                                                -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->

<CreditNote 
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" 
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
    xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2">
    
    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:efactura.mfinante.ro:CIUS-RO:1.0.1</cbc:CustomizationID>
    <cbc:ID>2018-112</cbc:ID>
    <cbc:IssueDate>2018-07-31</cbc:IssueDate>
    <cbc:CreditNoteTypeCode>381</cbc:CreditNoteTypeCode> 
    <cbc:DocumentCurrencyCode>SEK</cbc:DocumentCurrencyCode>
    <cbc:TaxCurrencyCode>RON</cbc:TaxCurrencyCode>
    <cbc:BuyerReference>ACE22</cbc:BuyerReference>
    
    <cac:AccountingSupplierParty>
        <cac:Party>
            <cbc:EndpointID schemeID="0007">1234512345</cbc:EndpointID> 
            <cac:PostalAddress>
                <cbc:StreetName>line1</cbc:StreetName>
                <cbc:CityName>SECTOR1</cbc:CityName>
                <cbc:PostalZone>013329</cbc:PostalZone>
                <cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
                <cac:Country>
                    <cbc:IdentificationCode>RO</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme>
                <cbc:CompanyID>RO1234567897</cbc:CompanyID>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:PartyTaxScheme>
            <cac:PartyLegalEntity>
                <cbc:RegistrationName>Säljbolaget AB</cbc:RegistrationName>
            </cac:PartyLegalEntity>
        </cac:Party>
    </cac:AccountingSupplierParty>
    
    <cac:AccountingCustomerParty>
        <cac:Party>
            <cbc:EndpointID schemeID="0007">9876543210</cbc:EndpointID>  
            <cac:PostalAddress>
                <cbc:StreetName>BD DECEBAL NR 1 ET1</cbc:StreetName>
                <cbc:CityName>ARAD</cbc:CityName>
                <cbc:PostalZone>123456</cbc:PostalZone>
                <cbc:CountrySubentity>RO-AR</cbc:CountrySubentity>
                <cac:Country>
                    <cbc:IdentificationCode>RO</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme><cbc:CompanyID>RO987456126</cbc:CompanyID><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:PartyTaxScheme><cac:PartyLegalEntity>
                <cbc:RegistrationName>Centrala Inköps Handelsbolag</cbc:RegistrationName>
            </cac:PartyLegalEntity>
        </cac:Party>
    </cac:AccountingCustomerParty>
        
    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="SEK">100</cbc:TaxAmount>
        <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="SEK">400</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="SEK">100</cbc:TaxAmount>
            <cac:TaxCategory>
                <cbc:ID>S</cbc:ID>
                <cbc:Percent>25</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>
                </cac:TaxScheme>
            </cac:TaxCategory>
        </cac:TaxSubtotal>
    </cac:TaxTotal>
    
    <cac:TaxTotal>
        <cbc:TaxAmount currencyID="RON">249</cbc:TaxAmount>
    </cac:TaxTotal>
    
    <cac:LegalMonetaryTotal>
        <cbc:LineExtensionAmount currencyID="SEK">400</cbc:LineExtensionAmount> 
        <cbc:TaxExclusiveAmount currencyID="SEK">400</cbc:TaxExclusiveAmount> 
        <cbc:TaxInclusiveAmount currencyID="SEK">500</cbc:TaxInclusiveAmount> 
        <cbc:PayableAmount currencyID="SEK">500</cbc:PayableAmount>
    </cac:LegalMonetaryTotal> 
    
    <cac:CreditNoteLine>
        <cbc:ID>1</cbc:ID>
        <cbc:CreditedQuantity unitCode="MON">1</cbc:CreditedQuantity> 
        <cbc:LineExtensionAmount currencyID="SEK">400</cbc:LineExtensionAmount> 
        <cac:Item>
            <cbc:Name>Service fee</cbc:Name> 
            <cac:ClassifiedTaxCategory>
                <cbc:ID>S</cbc:ID> 
                <cbc:Percent>25</cbc:Percent>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID> 
                </cac:TaxScheme>
            </cac:ClassifiedTaxCategory> 
        </cac:Item>
        <cac:Price>
            <cbc:PriceAmount currencyID="SEK">400</cbc:PriceAmount> 
        </cac:Price>
    </cac:CreditNoteLine>
    
</CreditNote>

Hoe we weten dat deze resultaten kloppen

Elk bestand in deze bibliotheek gaat bij elke build door de eigen validator van de site. Het hierboven vermelde verwachte resultaat wordt door een geautomatiseerde test bevestigd: zou een bestand niet meer overeenkomen met wat deze pagina beweert, dan faalt de build. Twee overgeërfde fixtures zijn zo vóór publicatie hersteld: drie IBAN's zakten voor de mod-97-controle en meerdere namen gebruikten tekens buiten de SEPA-basistekenset.

RO e-Factura-factuur (Roemenië, ANAF)