e-invoicing

Complete SBD example for a Slovakia outbound invoice

A full Standard Business Document for a Slovakia outbound invoice, with header and invoice body populated with placeholder Slovak values. Use it as the reference shape for your own payloads.

Values in [square brackets] must be replaced with your own data. Synthetic Slovak placeholder values (supplier IČO 36742059, DIČ 2021234567; buyer IČO 31364501) are from the SCI tree and are safe to use as reference. All other values should be used exactly as shown.

XML
<?xml version="1.0" encoding="utf-8"?>
<StandardBusinessDocument
    xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
    xmlns:svs="http://www.sovos.com/namespaces/sovosDocument"
    xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice"
    xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">

  <StandardBusinessDocumentHeader>
    <HeaderVersion>1.0</HeaderVersion>

    <Sender>
      <Identifier Authority="SK">2021234567</Identifier>
      <ContactInformation>
        <Contact>Dodavatel SK, s. r. o.</Contact>
      </ContactInformation>
    </Sender>

    <Receiver>
      <Identifier Authority="SK">[Buyer_DIC_10digits]</Identifier>
      <ContactInformation>
        <Contact>Odberatel SK, a. s.</Contact>
      </ContactInformation>
    </Receiver>

    <DocumentIdentification>
      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>
      <TypeVersion>2.1</TypeVersion>
      <InstanceIdentifier>INV-2025-000123</InstanceIdentifier>
      <Type>Invoice</Type>
      <MultipleType>false</MultipleType>
      <CreationDateAndTime>2025-03-11T09:15:00Z</CreationDateAndTime>
    </DocumentIdentification>

    <BusinessScope>
      <Scope>
        <Type>SenderDocumentId</Type>
        <Identifier>INV-2025-000123</Identifier>
      </Scope>
      <Scope>
        <Type>SenderSystemId</Type>
        <Identifier>[Your_ERPSystemID]</Identifier>
      </Scope>
      <Scope>
        <Type>ProcessType</Type>
        <Identifier>Outbound</Identifier>
      </Scope>
      <Scope>
        <Type>Country</Type>
        <Identifier>SK</Identifier>
      </Scope>
      <Scope>
        <Type>CompanyCode</Type>
        <Identifier>2021234567</Identifier>
      </Scope>
      <Scope>
        <Type>Mapping.TransformDocument</Type>
        <Identifier>SCI-TO-LEGAL_INVOICE</Identifier>
      </Scope>
      <Scope>
        <Type>Mapping.InputSchema</Type>
        <Identifier>UBLInvoice</Identifier>
      </Scope>
      <Scope>
        <Type>BusinessProcess</Type>
        <BusinessService>
          <BusinessServiceName>eDelivery</BusinessServiceName>
        </BusinessService>
      </Scope>
      <Scope>
        <Type>BusinessCategory</Type>
        <Identifier>B2B</Identifier>
      </Scope>
    </BusinessScope>
  </StandardBusinessDocumentHeader>

  <svs:SovosDocument>
    <sci:SovosCanonicalInvoice>
      <inv:Invoice>
        <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
        <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
        <cbc:ID>INV-2025-000123</cbc:ID>
        <cbc:IssueDate>2025-03-11</cbc:IssueDate>
        <cbc:DueDate>2025-04-10</cbc:DueDate>
        <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
        <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
        <cbc:BuyerReference>OBJ-2025-0451</cbc:BuyerReference>

        <cac:AccountingSupplierParty>
          <cac:Party>
            <cbc:EndpointID schemeID="0245">2021234567</cbc:EndpointID>
            <cac:PartyIdentification>
              <cbc:ID schemeID="0158">36742059</cbc:ID>
            </cac:PartyIdentification>
            <cac:PartyName>
              <cbc:Name>Dodavatel SK, s. r. o.</cbc:Name>
            </cac:PartyName>
            <cac:PostalAddress>
              <cbc:StreetName>Mlynske nivy 12</cbc:StreetName>
              <cbc:CityName>Bratislava</cbc:CityName>
              <cbc:PostalZone>82109</cbc:PostalZone>
              <cac:Country>
                <cbc:IdentificationCode>SK</cbc:IdentificationCode>
              </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme>
              <cbc:CompanyID>SK2021234567</cbc:CompanyID>
              <cac:TaxScheme>
                <cbc:ID>VAT</cbc:ID>
              </cac:TaxScheme>
            </cac:PartyTaxScheme>
            <cac:PartyLegalEntity>
              <cbc:RegistrationName>Dodavatel SK, s. r. o.</cbc:RegistrationName>
              <cbc:CompanyID schemeID="0158">36742059</cbc:CompanyID>
            </cac:PartyLegalEntity>
          </cac:Party>
        </cac:AccountingSupplierParty>

        <cac:AccountingCustomerParty>
          <cac:Party>
            <cbc:EndpointID schemeID="0245">[Buyer_DIC_10digits]</cbc:EndpointID>
            <cac:PartyIdentification>
              <cbc:ID schemeID="0158">31364501</cbc:ID>
            </cac:PartyIdentification>
            <cac:PartyName>
              <cbc:Name>Odberatel SK, a. s.</cbc:Name>
            </cac:PartyName>
            <cac:PostalAddress>
              <cbc:StreetName>Hlavna 25</cbc:StreetName>
              <cbc:CityName>Kosice</cbc:CityName>
              <cbc:PostalZone>04001</cbc:PostalZone>
              <cac:Country>
                <cbc:IdentificationCode>SK</cbc:IdentificationCode>
              </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme>
              <cbc:CompanyID>[Buyer_ICDPH_SKprefix_10digits]</cbc:CompanyID>
              <cac:TaxScheme>
                <cbc:ID>VAT</cbc:ID>
              </cac:TaxScheme>
            </cac:PartyTaxScheme>
            <cac:PartyLegalEntity>
              <cbc:RegistrationName>Odberatel SK, a. s.</cbc:RegistrationName>
              <cbc:CompanyID schemeID="0158">31364501</cbc:CompanyID>
            </cac:PartyLegalEntity>
          </cac:Party>
        </cac:AccountingCustomerParty>

        <cac:TaxTotal>
          <cbc:TaxAmount currencyID="EUR">287.50</cbc:TaxAmount>
          <cac:TaxSubtotal>
            <cbc:TaxableAmount currencyID="EUR">1250.00</cbc:TaxableAmount>
            <cbc:TaxAmount currencyID="EUR">287.50</cbc:TaxAmount>
            <cac:TaxCategory>
              <cbc:ID>S</cbc:ID>
              <cbc:Percent>23.00</cbc:Percent>
              <cac:TaxScheme>
                <cbc:ID>VAT</cbc:ID>
              </cac:TaxScheme>
            </cac:TaxCategory>
          </cac:TaxSubtotal>
        </cac:TaxTotal>

        <cac:LegalMonetaryTotal>
          <cbc:LineExtensionAmount currencyID="EUR">1250.00</cbc:LineExtensionAmount>
          <cbc:TaxExclusiveAmount currencyID="EUR">1250.00</cbc:TaxExclusiveAmount>
          <cbc:TaxInclusiveAmount currencyID="EUR">1537.50</cbc:TaxInclusiveAmount>
          <cbc:PayableAmount currencyID="EUR">1537.50</cbc:PayableAmount>
        </cac:LegalMonetaryTotal>

        <cac:InvoiceLine>
          <cbc:ID>1</cbc:ID>
          <cbc:InvoicedQuantity unitCode="PCE">10</cbc:InvoicedQuantity>
          <cbc:LineExtensionAmount currencyID="EUR">1000.00</cbc:LineExtensionAmount>
          <cac:Item>
            <cbc:Description>Konzultacne sluzby</cbc:Description>
            <cbc:Name>Consulting service</cbc:Name>
            <cac:ClassifiedTaxCategory>
              <cbc:ID>S</cbc:ID>
              <cbc:Percent>23.00</cbc:Percent>
              <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
            </cac:ClassifiedTaxCategory>
          </cac:Item>
          <cac:Price>
            <cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="PCE">1</cbc:BaseQuantity>
          </cac:Price>
        </cac:InvoiceLine>

        <cac:InvoiceLine>
          <cbc:ID>2</cbc:ID>
          <cbc:InvoicedQuantity unitCode="HUR">5</cbc:InvoicedQuantity>
          <cbc:LineExtensionAmount currencyID="EUR">250.00</cbc:LineExtensionAmount>
          <cac:Item>
            <cbc:Description>Technicka podpora</cbc:Description>
            <cbc:Name>Support hours</cbc:Name>
            <cac:ClassifiedTaxCategory>
              <cbc:ID>S</cbc:ID>
              <cbc:Percent>23.00</cbc:Percent>
              <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
            </cac:ClassifiedTaxCategory>
          </cac:Item>
          <cac:Price>
            <cbc:PriceAmount currencyID="EUR">50.00</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="HUR">1</cbc:BaseQuantity>
          </cac:Price>
        </cac:InvoiceLine>

      </inv:Invoice>
    </sci:SovosCanonicalInvoice>
  </svs:SovosDocument>
</StandardBusinessDocument>