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

TAX Configuration issue showing while creating new Invoice

Subscribe

Get notified when there's activity on this post

This question has been flagged
taxCommunityv15
5 Replies
10555 Views
Avatar
Balagopal R

While creating a new invoice, the system shows a Validation error.

"This entry contains some tax from an unallowed country. Please check its fiscal position and your tax configuration. "

I have double checked the country selected in Tax, Tax group, and Fiscal position. Everything is the same country. In the company, the selected company is also the same. 

 By default, the system takes the United States as the country while creating new Tax as well. 

0
Avatar
Discard
DATASYS SARL

Hi,

I have the same issue, can someone have the solution or how to fix this issue on Odoo 15 Community ?

Avatar
TEAMUP4SOLUTIONS
Best Answer

You can remove Country From : 


1. Tax Group 

2. Taxes 

3. Accounting > Configuration > Managements > Tax Report 



that will solve your problem 

0
Avatar
Discard
Avatar
Ryan Abrahams
Best Answer

I tried everything, and in the end, it was resolved by just deleting the tax and creating a new one. Duplicating the tax didn't work and threw a country error, which suggests that another country is saved with the tax which can't be changed from the interface. Hope this helps someone!

0
Avatar
Discard
Avatar
harryM1
Best Answer

It sounds like there may be an issue with the tax configuration in your Odoo instance. Here are a few things you can try to troubleshoot the issue:

  1. Double-check the tax configuration for the "Deposit" product to ensure that the tax rate and tax group are set correctly. Make sure that the tax rate is set to the correct rate for the country where the products will be delivered.

  2. Check the fiscal position of the customer to ensure that it is set to the correct country. If the fiscal position is set to a different country than the one where the products will be delivered, it could cause the validation error you are seeing.

  3. Check the tax configuration for the company to ensure that it is set to the correct country. Make sure that the tax configuration for the company matches the country where the products will be delivered.

  4. Make sure that the country selected in the tax configuration is the same as the country selected in the company configuration. If the countries are different, it could cause the validation error you are seeing.

  5. If you are still having issues, you may want to try deleting the tax configuration for the "Deposit" product and creating a new one. This can sometimes resolve issues with tax configuration.

I hope these suggestions help to resolve the issue you are experiencing. If you are still having issues after trying these steps

0
Avatar
Discard
Avatar
Sohel Merchant
Best Answer

In the taxes master - the country field is there. If the different country is configured then the problem araises.

For Example, in the company settings you add Australia. But in the taxes if you add United states this this problem will araise, once change the correct country in taxes problem solved.

0
Avatar
Discard
Avatar
Ibrahim Boudmir
Best Answer

Hi, 

In order to find a solution to this, you need to understand why odoo shows this message. 
For that, you should debug following code: 

@api.constrains('line_ids', 'fiscal_position_id', 'company_id')
def _validate_taxes_country(self):
""" By playing with the fiscal position in the form view, it is possible to keep taxes on the invoices from
a different country than the one allowed by the fiscal country or the fiscal position.
This contrains ensure such account.move cannot be kept, as they could generate inconsistencies in the reports.
"""
self._compute_tax_country_id() # We need to ensure this field has been computed, as we use it in our check
for record in self:
amls = record.line_ids
impacted_countries = amls.tax_ids.country_id | amls.tax_line_id.country_id | amls.tax_tag_ids.country_id
if impacted_countries and impacted_countries != record.tax_country_id:
raise ValidationError(_("This entry contains some tax from an unallowed country. Please check its fiscal position and your tax configuration."))



In your invoice's example, can you please tell us the value of the following variables : impacted_countries & record.tax_country_id ? 

Waiting for your reply. 

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
Related Posts Replies Views Activity
Attach Qweb Report PDF file in a binary field Solved
Community v15
Avatar
Avatar
2
Apr 24
9323
Up-gradation From Odoo 15 to Odoo 16 Solved
Community v15
Avatar
Avatar
1
Aug 23
2813
How to inherit and modify Odoo Tax Calculation ?
tax v15
Avatar
0
Aug 22
2968
Need help calling onchange method or similar from xmlrpc API
xmlrpc Community v15
Avatar
Avatar
1
Feb 23
3469
Get all logs from all forms Solved
logs Community v15
Avatar
Avatar
2
Feb 23
3082
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