Serbia: Example Documents
View example documents for Serbia.
Advanced Payment Invoice (RS_AdvanceInvoice.xml)
The following is an example invoice for an advanced payment:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia advance payment invoice -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>AdvanceInvoiceN</cbc:ID>
<cbc:IssueDate>2022-07-13</cbc:IssueDate>
<cbc:DueDate>2022-07-20</cbc:DueDate>
<!-- Invoice type code for advance payment invoice -->
<cbc:InvoiceTypeCode>386</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period according to the date of payment (432) -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>432</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">141.27</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">456.36</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">91.27</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">500</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">50.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">1200</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>AE</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cbc:TaxExemptionReasonCode>PDV-RS-10-2-2</cbc:TaxExemptionReasonCode>
<cbc:TaxExemptionReason>broj resenja 123/2000</cbc:TaxExemptionReason>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">2156.36</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">2156.36</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">2297.63</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">2297.63</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">456.36</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">456.36</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">500</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>2</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">500</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">1200</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 3</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>3</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>AE</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">1200</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Credit Note (RS_CreditNote.xml)
The following is an example credit note:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia credit note -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>CreditNoteN</cbc:ID>
<cbc:IssueDate>2022-03-29</cbc:IssueDate>
<cbc:DueDate>2022-04-20</cbc:DueDate>
<!-- Invoice type code for credit note -->
<cbc:InvoiceTypeCode>381</cbc:InvoiceTypeCode>
<cbc:Note/>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period description code is 0 for credit note -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>0</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:BillingReference>
<!-- Invoice number and issue date to which the credit note refers -->
<cac:InvoiceDocumentReference>
<cbc:ID>InvoiceN</cbc:ID>
<cbc:IssueDate>2022-03-01</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<!-- Model and reference number in the format (mod[ModelN]) [ReferenceN] -->
<cbc:PaymentID>(mod97) 123456/2022</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">300</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">1500</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">300.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">1500</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">1500</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">1800</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">1800</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="DAY">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">1500</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>004</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">1500</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Credit Note with Advanced Reduction (RS_CreditNoteBasedOnAdvanceReduction.xml)
The following is an example credit note with an advanced reduction:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia credit note based on advance reduction -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
<vrbl:ReceiverDetails>0088:1234567890123</vrbl:ReceiverDetails>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>CreditNoteN</cbc:ID>
<cbc:IssueDate>2023-06-05</cbc:IssueDate>
<cbc:DueDate>2023-06-30</cbc:DueDate>
<!-- Invoice type code for credit note -->
<cbc:InvoiceTypeCode>381</cbc:InvoiceTypeCode>
<cbc:Note/>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period description code is 0 for credit note -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>0</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:BillingReference>
<!-- Advance payment invoice number and issue date to which the credit note refers -->
<cac:InvoiceDocumentReference>
<cbc:ID>AdvanceInvoiceN</cbc:ID>
<cbc:IssueDate>2022-03-01</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<!-- Model and reference number in the format (mod[ModelN]) [ReferenceN] -->
<cbc:PaymentID>(mod97) 123456/2022</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">55.54</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">555.36</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">55.54</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">555.36</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">555.36</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">610.9</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableRoundingAmount currencyID="RSD">0</cbc:PayableRoundingAmount>
<cbc:PayableAmount currencyID="RSD">610.9</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="MTR">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">555.36</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">555.36</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Period Credit Note (RS_CreditNoteInPeriod.xml)
The following is an in period credit note:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia credit note for a period -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>CredidNoteN</cbc:ID>
<cbc:IssueDate>2022-07-13</cbc:IssueDate>
<cbc:DueDate>2022-07-31</cbc:DueDate>
<!-- Invoice type code for credit notes -->
<cbc:InvoiceTypeCode>381</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period description code is 0 for credit note -->
<!-- The period start and end date must be provided -->
<cac:InvoicePeriod>
<cbc:StartDate>2022-07-01</cbc:StartDate>
<cbc:EndDate>2022-07-10</cbc:EndDate>
<cbc:DescriptionCode>0</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<!-- Model and reference number in the format (mod[ModelN]) [ReferenceN] -->
<cbc:PaymentID>(mod97) 123456/2022</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">44</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">160</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">32.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">120</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">12.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">280</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">280</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">324</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">324</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="KMT">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">160</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">160</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">120</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>2</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">120</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Debit Note (RS_DebitNote.xml)
The following is an example debit note:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia debit note -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>DebitNoteN</cbc:ID>
<cbc:IssueDate>2022-03-29</cbc:IssueDate>
<cbc:DueDate>2022-04-05</cbc:DueDate>
<!-- Invoice type code for debit note -->
<cbc:InvoiceTypeCode>383</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period according to the invoice issue date (3) -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>3</cbc:DescriptionCode>
</cac:InvoicePeriod>
<!-- Invoice number and issue date to which the credit note refers -->
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<cbc:ID>InvoiceN</cbc:ID>
<cbc:IssueDate>2022-03-29</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<!-- Model and reference number in the format (mod[ModelN]) [ReferenceN] -->
<cbc:PaymentID>(mod97) 123456/2022</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">100</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">500</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">100.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">500</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">500</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">600</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">600</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="DAY">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">500</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>004</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">500</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Final Invoice (RS_FinalInvoice.xml)
The following is an example of a final invoice:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia final invoice -->
<!-- A final invoice is the last invoice, usually sent after a project or order is completed, which includes the total amount of money that is still owed. -->
<!-- In serbia, it must contain the reference to the preceeding advance payment invoice -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:InvoicedPrepaymentAmount>
<!-- Advance payment invoice number -->
<cbc:ID>AdvanceInvoiceN</cbc:ID>
<!-- Advance payment invoice tax breakdown -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">110</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">400</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">80</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">300</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">30</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">200</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">0.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0.0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
</vrbl:InvoicedPrepaymentAmount>
<!-- Reduced amounts and document totals -->
<vrbl:ReducedTotals>
<cac:LegalMonetaryTotal>
<cbc:TaxExclusiveAmount currencyID="RSD">10490</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">10280</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="RSD">10280</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">690</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">800</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">160</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">5300</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">530</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">3490</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">0.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0.0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
</vrbl:ReducedTotals>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>123456</cbc:ID>
<cbc:IssueDate>2022-07-13</cbc:IssueDate>
<cbc:DueDate>2022-07-20</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period according to the invoice issue date (3) -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>3</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:BillingReference>
<!-- Reference to the advance payment invoice -->
<cac:InvoiceDocumentReference>
<cbc:ID>AdvanceInvoiceN</cbc:ID>
<cbc:IssueDate>2022-07-01</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:Delivery>
<cbc:ActualDeliveryDate>2022-07-13</cbc:ActualDeliveryDate>
</cac:Delivery>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">800</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">1200</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">240.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">5600</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">560.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">3690</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cbc:TaxExemptionReasonCode>PDV-RS-25-2-10</cbc:TaxExemptionReasonCode>
<cbc:TaxExemptionReason>broj resenja</cbc:TaxExemptionReason>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">10490</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">10490</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">11290</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<!-- Amount already paid in the advance payment invoice -->
<cbc:PrepaidAmount currencyID="RSD">1010</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">10280</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">1200</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">1200</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">5600</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>2</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">5600</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">3690</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 3</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>3</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">3690</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Cancellation Invoice (RS_InvoiceCancellation.xml)
The following is an example of a cancellation invoice:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia cancellation invoice -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>InvoiceN</cbc:ID>
<cbc:IssueDate>2022-07-12</cbc:IssueDate>
<cbc:DueDate>2022-07-19</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period according to the invoice issue date (3) -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>3</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:ContractDocumentReference>
<cbc:ID>ContractN</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:Delivery>
<cbc:ActualDeliveryDate>2022-07-13</cbc:ActualDeliveryDate>
</cac:Delivery>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<!-- Model and reference number in the format (mod[ModelN]) [ReferenceN] -->
<cbc:PaymentID>(mod97) 123456/2022</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">400</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">1000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">200.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">2000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">200.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">-3400</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>N</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cbc:TaxExemptionReasonCode>PDV-RS-5</cbc:TaxExemptionReasonCode>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">-400</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">-400</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">0</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">0</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="KMT">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">1000</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>test proizvod 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">1000</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">2000</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>test proizvod 2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>2</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">2000</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="KMT">-1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">-1200</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Annulment 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>3</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>N</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">1200</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>4</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">-1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">-2200</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Annulment 2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>4</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>N</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">2200</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Tax Exemption (RS_TaxExemptionInvoice.xml)
The following is an invoice that includes a Tax Exemption:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="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" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<!-- Serbia advance payment invoice with tax exemption -->
<!-- Required UBL extensions -->
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:RoutingDetails>
<!-- Unique sender ID. In case of Serbia always the sender's VAT ID -->
<vrbl:Sender>RS123456789</vrbl:Sender>
<!-- Unique receiver ID. In case of Serbia always a static value identifies the country (Serbia) and the target version to be created -->
<vrbl:Receiver>GENERIC_RS_EINVOICE_1p0p0</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>InvoiceN</cbc:ID>
<cbc:IssueDate>2022-07-13</cbc:IssueDate>
<cbc:DueDate>2022-07-20</cbc:DueDate>
<!-- Invoice type code for advance payment invoice -->
<cbc:InvoiceTypeCode>386</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
<!-- Invoicing period according to the date of payment (432) -->
<cac:InvoicePeriod>
<cbc:DescriptionCode>432</cbc:DescriptionCode>
</cac:InvoicePeriod>
<cac:ContractDocumentReference>
<cbc:ID>Broj ugovora</cbc:ID>
</cac:ContractDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the sender -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>SellerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and seller company PIB -->
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>SellerCompanyLegalName</cbc:RegistrationName>
<!-- ID of the company -->
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<!-- Technical Endpoint. Provides the PEPPOL ID of the receiver -->
<!-- use schemeID codes from https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ -->
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<!-- JBKJS number of the buyer -->
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>BuyerCompanyLegalName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
<cbc:CityName>Jagodina</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<!-- Mandatory prefix RS and buyer company PIB -->
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
<cbc:ID>RS11110001009999900099</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">141.27</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">456.36</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">91.27</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">500</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">50.0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="RSD">1200</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="RSD">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>AE</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<!-- When the invoice is tax exempt, the tax exemption reason code or the reason are mandatory -->
<cbc:TaxExemptionReasonCode>PDV-RS-10-2-2</cbc:TaxExemptionReasonCode>
<cbc:TaxExemptionReason>broj resenja 123/2000</cbc:TaxExemptionReason>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="RSD">2156.36</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="RSD">2156.36</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="RSD">2297.63</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="RSD">0</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID="RSD">0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID="RSD">2297.63</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">456.36</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">456.36</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">500</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>2</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">500</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="RSD">1200</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Product 3</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>3</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>AE</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="RSD">1200</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ubl:Invoice>
Updated 2 months ago