Title: Custom export
Last modified: January 18, 2021

---

# Custom export

 *  Resolved [Patrik Illy](https://wordpress.org/support/users/illycz/)
 * (@illycz)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-export-3/)
 * 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="http://www.stormware.cz/schema/version_2/data.xsd" xmlns:inv="http://www.stormware.cz/schema/version_2/invoice.xsd" xmlns:typ="http://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 odeslaných SMS za uplynulé období (1.10.2020 - 31.12.2020):
   
       Počet výjezdů: 10
       Počet SMS - výjezdy: 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 odeslaných SMS za uplynulé období (1.10.2020 - 31.12.2020):
   
       Počet výjezdů: 10
       Počet SMS - výjezdy: 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 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-export-3/#post-13939282)
 * Hi [@illycz](https://wordpress.org/support/users/illycz/),
 * > Is it possible export orders and set custom xml structure?
   >  I need export like
   > this:
 * You might be able to achieve something like that using our “Custom XML Feed” 
   export type: [https://www.wpallimport.com/documentation/export/xml-format/](https://www.wpallimport.com/documentation/export/xml-format/).
   To customize the items loop, you can use our API: [https://www.wpallimport.com/documentation/developers/code-snippets/#custom-items-loop-for-woocommerce-orders-exports](https://www.wpallimport.com/documentation/developers/code-snippets/#custom-items-loop-for-woocommerce-orders-exports).
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-export-3/#post-14021401)
 * Hi [@illycz](https://wordpress.org/support/users/illycz/),
 * I’m marking this as resolved since it’s been a while. Feel free to follow up 
   in this thread if you still have questions.
 * Anyone else, please open a new topic.
 *  Thread Starter [Patrik Illy](https://wordpress.org/support/users/illycz/)
 * (@illycz)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/custom-export-3/#post-14023662)
 * Of course, thanks…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom export’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-export/assets/icon-256x256.png?rev=2570162)
 * [WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel](https://wordpress.org/plugins/wp-all-export/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-export/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-export/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-export/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Patrik Illy](https://wordpress.org/support/users/illycz/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/custom-export-3/#post-14023662)
 * Status: resolved