• Resolved Patrik Illy

    (@illycz)


    Is it possible export orders and set custom xml structure?
    I need export like this:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <dat:dataPack id="fa001" ico="01541137" application="Fakturoid" version="2.0" note="Import FA" xmlns:dat="https://www.stormware.cz/schema/version_2/data.xsd" xmlns:inv="https://www.stormware.cz/schema/version_2/invoice.xsd" xmlns:typ="https://www.stormware.cz/schema/version_2/type.xsd">
      <dat:dataPackItem id="2021-0001" version="2.0">
        <inv:invoice version="2.0">
          <inv:invoiceHeader>
            <inv:invoiceType>issuedInvoice</inv:invoiceType>
            <inv:number>
              <typ:numberRequested>2021-0001</typ:numberRequested>
            </inv:number>
            <inv:symVar>20210001</inv:symVar>
            <inv:date>2021-01-01</inv:date>
            <inv:dateTax>2021-01-01</inv:dateTax>
            <inv:dateAccounting>2021-01-01</inv:dateAccounting>
            <inv:dateDue>2021-01-16</inv:dateDue>
            <inv:classificationVAT>
              <typ:ids>UD</typ:ids>
            </inv:classificationVAT>
            <inv:text>FIREPORT - statistika odeslanych SMS za uplynulé období (1.10.2020 - 31.12.2020):
    
    Po?et vyjezd?: 10
    Po?et SMS - vyjezdy: 260
    Po?et SMS - FIREPORTAL: 42
    
    Po?et SMS celkem: 302</inv:text>
            <inv:partnerIdentity>
              <typ:address>
                <typ:company>Městská ?ást Praha-Kolovraty</typ:company>
                <typ:city>Praha - Kolovraty</typ:city>
                <typ:street>Mírová 364/34</typ:street>
                <typ:zip>10300</typ:zip>
                <typ:country>
                  <typ:ids>CZ</typ:ids>
                </typ:country>
                <typ:ico>00240346</typ:ico>
                <typ:dic>CZ00240346</typ:dic>
              </typ:address>
            </inv:partnerIdentity>
            <inv:myIdentity>
              <typ:address>
                <typ:company>FRP Services, s.r.o.</typ:company>
                <typ:city>P?íbram</typ:city>
                <typ:street>Pra?ská 7</typ:street>
                <typ:zip>26101</typ:zip>
                <typ:ico>01541137</typ:ico>
                <typ:dic>CZ01541137</typ:dic>
              </typ:address>
            </inv:myIdentity>
            <inv:numberOrder/>
            <inv:paymentType>
              <typ:paymentType>draft</typ:paymentType>
            </inv:paymentType>
            <inv:account>
              <typ:accountNo>2800404467</typ:accountNo>
              <typ:bankCode>2010</typ:bankCode>
            </inv:account>
            <inv:note>FIREPORT - statistika odeslanych SMS za uplynulé období (1.10.2020 - 31.12.2020):
    
    Po?et vyjezd?: 10
    Po?et SMS - vyjezdy: 260
    Po?et SMS - FIREPORTAL: 42
    
    Po?et SMS celkem: 302</inv:note>
            <inv:intNote/>
          </inv:invoiceHeader>
          <inv:invoiceDetail>
            <inv:invoiceItem>
              <inv:text>FIREPORT SMS 150 (následující kvartál)</inv:text>
              <inv:quantity>3.0</inv:quantity>
              <inv:unit>ks</inv:unit>
              <inv:payVAT>false</inv:payVAT>
              <inv:rateVAT>high</inv:rateVAT>
              <inv:homeCurrency>
                <typ:unitPrice>250.0</typ:unitPrice>
              </inv:homeCurrency>
            </inv:invoiceItem>
            <inv:invoiceItem>
              <inv:text>FIREPORT PRINT (následující kvartál)</inv:text>
              <inv:quantity>3.0</inv:quantity>
              <inv:unit>ks</inv:unit>
              <inv:payVAT>false</inv:payVAT>
              <inv:rateVAT>high</inv:rateVAT>
              <inv:homeCurrency>
                <typ:unitPrice>200.0</typ:unitPrice>
              </inv:homeCurrency>
            </inv:invoiceItem>
          </inv:invoiceDetail>
        </inv:invoice>
      </dat:dataPackItem>
    </dat:dataPack>
    

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom export’ is closed to new replies.