RAC,386,RSD,Broj avansnog računa DAT,2022-07-13,2022-07-20,,432 UPL,30,,Tekući račun pošiljaoca RUG,Broj ugovora DOB,123456789,12345678,,1,Naziv pravnog lica A,Ulica,Grad pravnog lica A,Postanski broj KUP,987654321,87654321,12345,1,Naziv pravnog lica B,Adresa pravnog lica B,Grad pravnog lica B,Postanski broj SUB,456.36,91.27,S,20,VAT,, SUB,500,50.0,S,10,VAT,, SUB,1200,0,AE,0,VAT,PDV-RS-10-2-2,broj resenja 123/2000 TOT,2156.36,2156.36,2297.63,0,0,2297.63 LIN,1,test proizvod 1,,S,20,VAT,1,H87,456.36,0,0,0,456.36 LIN,2,test proizvod 2,,S,10,VAT,1,H87,500,0,0,0,500 LIN,3,test proizvod 3,,AE,0,VAT,1,H87,1200,0,0,0,1200
<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="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:sbt="http://mfin.gov.rs/srbdt/srbdtext" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:mfin.gov.rs:srbdt:2021</cbc:CustomizationID>
RAC,386,RSD,Broj avansnog računa
<cbc:ID>Broj avansnog računa</cbc:ID>
<cbc:InvoiceTypeCode>386</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>RSD</cbc:DocumentCurrencyCode>
DAT,2022-07-13,2022-07-20,,432
<cbc:IssueDate>2022-07-13</cbc:IssueDate>
<cbc:DueDate>2022-07-20</cbc:DueDate>
<cac:InvoicePeriod>
<cbc:DescriptionCode>432</cbc:DescriptionCode>
</cac:InvoicePeriod>
UPL,30,,Tekući račun pošiljaoca
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
<cbc:ID>Tekući račun pošiljaoca</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
RUG,Broj ugovora
<cac:ContractDocumentReference>
<cbc:ID>Broj ugovora</cbc:ID>
</cac:ContractDocumentReference>
DOB,123456789,12345678,,1,Naziv pravnog lica A,Ulica,Grad pravnog lica A,Postanski broj
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="9948">123456789</cbc:EndpointID>
<!-- PIB pravnog lica A -->
<cac:PartyName>
<cbc:Name>Naziv pravnog lica A</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:CityName>Grad pravnog lica A</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>RS123456789</cbc:CompanyID>
<!-- Obavezan prefix "RS" i PIB broj pravnog lica A -->
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Naziv pravnog lica A</cbc:RegistrationName>
<cbc:CompanyID>12345678</cbc:CompanyID>
<!-- Matični broj pravnog lica A -->
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>e-mail adresa</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
KUP,987654321,87654321,12345,1,Naziv pravnog lica B,Adresa pravnog lica B,Grad pravnog lica B,Postanski broj
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID>JBKJS:12345</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Naziv pravnog lica B</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Adresa pravnog lica B</cbc:StreetName>
<cbc:CityName>Grad pravnog lica B</cbc:CityName>
<cac:Country>
<cbc:IdentificationCode>RS</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>RS987654321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Naziv pravnog lica B</cbc:RegistrationName>
<cbc:CompanyID>87654321</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:ElectronicMail>e-mail adresa</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="RSD">141.27</cbc:TaxAmount>
SUB,456.36,91.27,S,20,VAT,,
<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>
SUB,500,50.0,S,10,VAT,,
<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>
SUB,1200,0,AE,0,VAT,PDV-RS-10-2-2,broj resenja 123/2000
<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>
TOT,2156.36,2156.36,2297.63,0,0,2297.63
<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>
LIN,1,test proizvod 1,,S,20,VAT,1,H87,456.36,0,0,0,456.36
<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>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">456.36</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
LIN,2,test proizvod 2,,S,10,VAT,1,H87,500,0,0,0,500
<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>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">500</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
LIN,3,test proizvod 3,,AE,0,VAT,1,H87,1200,0,0,0,1200
<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>test proizvod 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>
</Invoice>