Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Where can i find the Invoice XML file?

Subscribe

Get notified when there's activity on this post

This question has been flagged
3 Replies
11101 Views
Avatar
Santosh

Where can i find the Invoice XML file?


0
Avatar
Discard
Simplify it!

Which one? Printed or view?

OdooBot
Hi Grover Menacho,

As i print the Invoice there is field where i need to edit from12.36% to 12% in the Invoice .how can i do it

On Thu, May 28, 2015 at 2:56 AM, Grover Menacho <hmen-live.co.uk@mail.odoo.com> wrote:

Which one? Printed or view?

--
Grover Menacho
Sent by Odoo S.A. using Odoo about Forum Post Where can i find the Invoice XML file?



--

Santosh R P ΙExec-Tech Team
Bodhih Training Solutions Pvt Ltd Ι
 Phones: +91 80 4260 6666 - Ext. 602
Email: santoshrp@bodhih.com Ι Web: www.bodhih.com

<img border="0" width="593" height="6" src="cid:image001.jpg@01D05FEA.9A473BD0" alt="Description: Description: cid:image002.jpg@01CEA8C2.DC5DA710">

<img border="0" width="40" height="47" src="cid:image002.png@01D05FEA.9A473BD0" alt="Description: Description: cid:image003.png@01D05D8A.31A632F0"><img border="0" width="39" height="45" src="cid:image003.png@01D05FEA.9A473BD0" alt="Description: Description: cid:image002.png@01D05D8A.AAE50470"><img border="0" width="40" height="46" src="cid:image004.jpg@01D05FEA.9A473BD0" alt="Description: Description: cid:image006.jpg@01D05D8A.AAE50470">

Avatar
Clara Tegas (cte)
Best Answer

Hello Santosh,

Additional information here that could be useful for users looking to extract the XML files generated in Odoo.

The first step is to activate electronic invoicing, by going in the Advanced Settings of the appropriate Sales journal. The different possibilities of e-Invoicing will be displayed according to the fiscal country and package set for the company.



This feature enables to generate automatically the XML file when posting a new invoice in this journal.

All XML files that have been generated previously can be visualized and extracted if necessary. To do so, debug mode must be activated. Go to Settings > Technical > Database Structure > Attachments. Here can be found all attachments across the database, including the XML files linked to invoices.

To display and extract the XML file of invoices, switch to list view and filter on the Resource Model: account.move.

You can either extract each XML file by clicking on the invoice and downloading it, field "File Content (base64). Or you can select all invoices and export them in Excel, containing the XML links in one column as in the below screenprint :


2
Avatar
Discard
Avatar
Hamza Ilyas
Best Answer
attachment = self.env['ir.attachment'].search([('res_name', '=', invoice.name)])

in attachment, you will get the record of the attachment of your invoice and can access other fields with it like attachment.datas will be base64 of XML of your invoice

0
Avatar
Discard
Avatar
Juan José Scarafía
Best Answer

Hi Santosh,

You can find the Invoice XML in Settings > Technical > Reports > Reports, and search Invoice using the search-box.

Regards,

Juan José - ADHOC

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now