Povratna naknada primjer XML (pomoć)

Dec 22, 2012 at 8:50 PM

Ima li tko primjer racun zahtjeva xml u kojemu ima neke povratne naknade.

Hvala puno!!!

Coordinator
Dec 22, 2012 at 8:53 PM

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
  <soapenv:Body>
    <tns:RacunZahtjev xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="signXmlId" xmlns:tns="http://www.apis-it.hr/fin/2012/types/f73">
      <tns:Zaglavlje>
        <tns:IdPoruke>868241ce-ea3d-4459-842b-721af438e4e8</tns:IdPoruke>
        <tns:DatumVrijeme>17.12.2012T12:42:16</tns:DatumVrijeme>
      </tns:Zaglavlje>
      <tns:Racun>
        <tns:Oib>12345678910</tns:Oib>
        <tns:USustPdv>true</tns:USustPdv>
        <tns:DatVrijeme>17.12.2012T14:02:15</tns:DatVrijeme>
        <tns:OznSlijed>N</tns:OznSlijed>
        <tns:BrRac>
          <tns:BrOznRac>1</tns:BrOznRac>
          <tns:OznPosPr>POS2</tns:OznPosPr>
          <tns:OznNapUr>1</tns:OznNapUr>
        </tns:BrRac>
        <tns:Pdv>
          <tns:Porez>
            <tns:Stopa>25.00</tns:Stopa>
            <tns:Osnovica>100.00</tns:Osnovica>
            <tns:Iznos>2.50</tns:Iznos>
          </tns:Porez>
          <tns:Porez>
            <tns:Stopa>10.00</tns:Stopa>
            <tns:Osnovica>10.00</tns:Osnovica>
            <tns:Iznos>1.00</tns:Iznos>
          </tns:Porez>
          <tns:Porez>
            <tns:Stopa>0.00</tns:Stopa>
            <tns:Osnovica>10.00</tns:Osnovica>
            <tns:Iznos>0.00</tns:Iznos>
          </tns:Porez>
        </tns:Pdv>
        <tns:Pnp>
          <tns:Porez>
            <tns:Stopa>3.00</tns:Stopa>
            <tns:Osnovica>100.00</tns:Osnovica>
            <tns:Iznos>0.30</tns:Iznos>
          </tns:Porez>
        </tns:Pnp>
        <tns:Naknade>
          <tns:Naknada>
            <tns:NazivN>Povratna naknada</tns:NazivN>
            <tns:IznosN>5.00</tns:IznosN>
          </tns:Naknada>
        </tns:Naknade>
        <tns:IznosUkupno>1250.99</tns:IznosUkupno>
        <tns:NacinPlac>K</tns:NacinPlac>
        <tns:OibOper>12345678901</tns:OibOper>
        <tns:ZastKod>60d6f706a09a57336f797ae8a1635232</tns:ZastKod>
        <tns:NakDost>false</tns:NakDost>
      </tns:Racun>
      <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
        <SignedInfo>
          <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
          <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
          <Reference URI="#signXmlId">
            <Transforms>
              <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
              <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
            </Transforms>
            <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
            <DigestValue>xxxxxxxxxx6mIKPxc=</DigestValue>
          </Reference>
        </SignedInfo>
        <SignatureValue>LbDxxxxxE4fGvzPnmHga9QpekQnfVIdbyEQuW9mefli6+rRXiZdlK4e/8j8tWXxvBprJ6XmL5BbMesLUF6rq6r0M4jkHMvc09Gx/5V1XAFdbdZPwm3oayd/cE2RTkarjXkxxxxxxxxdRNFIRHHRUbXDY9b5DOWK04FugayxxxxxT2zk1c36+aSZdpbFT55HGtLSI/OIrQI6uND19rQxS1cwaVn0pj4qz3y+mMToK5DS0hV19YHXJKD6Kcv7Fst6x9+s9X0AQ==</SignatureValue>
        <KeyInfo>
          <X509Data>
            <X509IssuerSerial>
              <X509IssuerName>OU=DEMO, O=FINA, C=HR</X509IssuerName>
              <X509SerialNumber>1234567890</X509SerialNumber>
            </X509IssuerSerial>
            <X509Certificate>xxxxxMjQxMzM2NTFaFw0xNDEwMjQxNDA2NTFaMF0xCzAJBgNVBAYTAkhSMSowKAYDVQQKEyFTQUdVQVJPIElORk8gRC5PLk8uIEhSNTY5NDEzMDU4MjMxDzANBgNVBAcTBlpBR1JFQjERMA8GA1UEAxMIRklTS0FxxxxxxwwKwYDVR0QBCQwIoAPMjAxMjEwMjQxMzM2NTFagQ8yMDE0MTAyNDE0MDY1MVowHwYDVR0jBBgwFoAUemAjjkidMmuk5S3duFm0lPxCYp4wHQYDVR0OBBYEFKm72/2q7CBZ0jKosIAczblMIrAiMAkGA1UdEwQCMAAwDQYJKoZIhvcNAQEFBQADggEBACMdnxxxxxxxaq+kvqJhs7ix0lKx9/AZtsvDdgaVl71z5wKSkadBDRygf9nwu6+tiOIIep5IlkQU=</X509Certificate>
          </X509Data>
        </KeyInfo>
      </Signature>
    </tns:RacunZahtjev>
  </soapenv:Body>
</soapenv:Envelope>
Dec 22, 2012 at 8:56 PM
Edited Dec 22, 2012 at 8:58 PM

Odlicno !!! Hvala !

 

Ali ovo je u biti neispravan račun jeld ?

Dec 22, 2012 at 9:00 PM

Ako imamo racun s jednom stavkom od 100 kn koja inace ima povratnu naknadu od 0,50kn kako bi izgledao PDV

Dec 23, 2012 at 8:57 AM
maytione wrote:

Ako imamo racun s jednom stavkom od 100 kn koja inace ima povratnu naknadu od 0,50kn kako bi izgledao PDV

 

<?

xml version="1.0" encoding="utf-8"

?>

<

tns:RacunZahtjev xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="signXmlId" xmlns:tns="http://www.apis-it.hr/fin/2012/types/f73"

>

<

tns:Zaglavlje

>

<

tns:IdPoruke>3b31c10d-48e3-4236-a058-a8e28be3c9c5</tns:IdPoruke

>

<

tns:DatumVrijeme>23.12.2012T09:45:31</tns:DatumVrijeme

>

</

tns:Zaglavlje

>

<

tns:Racun

>

<

tns:Oib>12345678901</tns:Oib

>

<

tns:USustPdv>true</tns:USustPdv

>

<

tns:DatVrijeme>22.12.2012T09:45:29</tns:DatVrijeme

>

<

tns:OznSlijed>N</tns:OznSlijed

>

<

tns:BrRac

>

<

tns:BrOznRac>78</tns:BrOznRac

>

<

tns:OznPosPr>01</tns:OznPosPr

>

<

tns:OznNapUr>1</tns:OznNapUr

>

</

tns:BrRac

>

<

tns:Pdv

>

<

tns:Porez

>

<

tns:Stopa>10.00</tns:Stopa

>

<

tns:Osnovica>88.49</tns:Osnovica

>

<

tns:Iznos>8.85</tns:Iznos

>

</

tns:Porez

>

</

tns:Pdv

>

<

tns:Pnp

>

<

tns:Porez

>

<

tns:Stopa>3.00</tns:Stopa

>

<

tns:Osnovica>88.49</tns:Osnovica

>

<

tns:Iznos>2.65</tns:Iznos

>

</

tns:Porez

>

</

tns:Pnp

>

<

tns:IznosUkupno>100.00</tns:IznosUkupno

>

<

tns:NacinPlac>G</tns:NacinPlac

>

<

tns:OibOper>98765432101</tns:OibOper

>

<

tns:ZastKod>692fcb265283f56cff9e833fdaadf625</tns:ZastKod

>

<

tns:NakDost>false</tns:NakDost

>

</

tns:Racun

>

</

tns:RacunZahtjev

>

Dec 23, 2012 at 10:55 AM

Pa tu uopche nema povratne naknade!!!

Dec 23, 2012 at 2:13 PM

Da li povratna naknada ide u izračun osnovice ili se ona prije izbija iz iznosa kako bi se izračunala osnovica?

 

Ja sam uvijek izbijao povratnu naknadu kako bi izračunao PDV

100 kn sa povratnom nakonadom

Zar ne ide ovako ?

 <tns:Pdv>
          <tns:Porez>
            <tns:Stopa>25.00</tns:Stopa>
            <tns:Osnovica>79.60</tns:Osnovica>
            <tns:Iznos>19.90</tns:Iznos>
          </tns:Porez>
        </tns:Pdv>
        <tns:Naknade>
          <tns:Naknada>
            <tns:NazivN>Povratna naknada</tns:NazivN>
            <tns:IznosN>0.50</tns:IznosN>
          </tns:Naknada>
        </tns:Naknade>
        <tns:IznosUkupno>100.00</tns:IznosUkupno>

Dec 23, 2012 at 2:14 PM

Ide

Dec 23, 2012 at 2:20 PM
divkovi1 wrote:

Ide

Znaci ovaj moj primjer je netocan jer je osnovica umanjena za povratnu naknadu ?

Dec 23, 2012 at 2:28 PM
maytione wrote:
divkovi1 wrote:

Ide

Znaci ovaj moj primjer je netocan jer je osnovica umanjena za povratnu naknadu ?

 

<?

xml version="1.0" encoding="utf-8"

?>

<

tns:RacunZahtjev xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="signXmlId" xmlns:tns="http://www.apis-it.hr/fin/2012/types/f73"

>

<

tns:Zaglavlje

>

<

tns:IdPoruke>7858ec46-8b61-4d99-89a8-53d7c0214406</tns:IdPoruke

>

<

tns:DatumVrijeme>23.12.2012T15:22:12</tns:DatumVrijeme

>

</

tns:Zaglavlje

>

<

tns:Racun

>

<

tns:Oib>12345678901</tns:Oib

>

<

tns:USustPdv>true</tns:USustPdv

>

<

tns:DatVrijeme>23.12.2012T15:22:10</tns:DatVrijeme

>

<

tns:OznSlijed>N</tns:OznSlijed

>

<

tns:BrRac

>

<

tns:BrOznRac>106</tns:BrOznRac

>

<

tns:OznPosPr>14</tns:OznPosPr

>

<

tns:OznNapUr>1</tns:OznNapUr

>

</

tns:BrRac

>

<

tns:Pdv

>

<

tns:Porez

>

<

tns:Stopa>25.00</tns:Stopa

>

<

tns:Osnovica>79.60</tns:Osnovica

>

<

tns:Iznos>19.90</tns:Iznos

>

</

tns:Porez

>

</

tns:Pdv

>

<

tns:Naknade

>

<

tns:Naknada

>

<

tns:NazivN>Povratna naknada</tns:NazivN

>

<

tns:IznosN>0.50</tns:IznosN

>

</

tns:Naknada

>

</

tns:Naknade

>

<

tns:IznosUkupno>100.00</tns:IznosUkupno

>

<

tns:NacinPlac>G</tns:NacinPlac

>

<

tns:OibOper>12345678901</tns:OibOper

>

<

tns:ZastKod>b1f8a5be05087be6c93495a4703ad509</tns:ZastKod

>

<

tns:NakDost>false</tns:NakDost

>

</

tns:Racun

>

</

tns:RacunZahtjev

>

Dec 23, 2012 at 2:29 PM

Izvini, i ja malo brkam lončiće u zadnje vrijeme, vjerojatno od nedostatka sna. Ono prije je bilo ako imaš porez na potrošnju a ovo je ako imaš povratnu naknadu.

Dec 23, 2012 at 2:31 PM

Pa da tako i ja imam ali divkovi1 kaze suprotno tj, da je u ovom slucaju osnovica za pdv 80 kn a ne 79,60 kao što je kod nas (ako imamo racun od 100 kn sa jednom stavkom kolicina 1 i povratna naknada 0,50 kn) 

Dec 23, 2012 at 3:16 PM

Pa ne, @divkovi1 ne kaže suprotno nego se slaže s tvojom konstatacijom.Osnovica s porezom se dobije da se prije toga izbije povratna naknada, Povratna naknada je neoporeziva.

100 - 0,50 = 99,50

99,50 * 20 / 100 = 19,90

99,50 - 19,90 = 79,60

 

Dec 23, 2012 at 3:37 PM

Ma sve sam pobrkao.... isprike

Dec 23, 2012 at 8:24 PM

Bitno da se shvatilo sto sam htio reci :)

Mar 7, 2013 at 8:09 PM
Moze li jos netko dati primjer slanja povratne naknade?
Recimo da imamo bocu vode koja kosta 10 kuna a povratna naknada je 50 lipa.
kako bi izgledao XML?