Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.0 mig : invoice domain should be based on fiscal position in stead of country #110

Closed
luc-demeyer opened this issue Dec 3, 2020 · 2 comments

Comments

@luc-demeyer
Copy link
Contributor

Up till now the default domain to select intrastat transactions is based upon invoices to/from EU countries.
I propose that we change in 14.0 the logic to be based upon the "Intra EU" fiscal position.

On the Belgian market transactions subject to the 'intrastat' declaration are also subject to the 'intracommunity' tax declaration.
In the 13.0 version of the Belgium localisation module I already replaced the domain query, cf.
https://github.com/Noviat/noviat-apps/blob/012c9a254b101c405126b1c0ce5276a0a9c16d9e/l10n_be_intrastat_product/models/l10n_be_intrastat_product_declaration.py#L219

But since these rules are decided on an european level, this should be applicable for all EU countries.
As a consequence I propose that for the 14.0 migration we add an 'intrastat' boolean to the fiscal position and base the domain on invoices with fiscal positions marked as 'intrastat'. In the localisation modules we can add the logic to set this flag automatically on the standard Intra EU fiscal position.

To give a concrete example why the country tabel is wrong:
If you ship goods to a customer without VAT number in an EU country that this shipment must not be included in the intrastat declaration.

alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Jan 5, 2021
@alexis-via
Copy link
Contributor

I agree with this idea.
About your last point, the scenario was handled via the boolean exclude_from_intrastat_if_present on account.tax and it was working fine.
The advantage of this solution is that it's easier to configure, because you just a few fiscal positions instead of dozens of taxes.

alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Jan 5, 2021
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110
@alexis-via
Copy link
Contributor

Now that this has been implemented in v14, let's close it.

alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Dec 16, 2021
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Jan 31, 2022
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
victoralmau pushed a commit to Tecnativa/intrastat-extrastat that referenced this issue Jun 14, 2022
victoralmau pushed a commit to Tecnativa/intrastat-extrastat that referenced this issue Aug 2, 2022
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
victoralmau pushed a commit to Tecnativa/intrastat-extrastat that referenced this issue Aug 3, 2022
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
victoralmau pushed a commit to Tecnativa/intrastat-extrastat that referenced this issue Aug 19, 2022
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
victoralmau pushed a commit to Tecnativa/intrastat-extrastat that referenced this issue Sep 12, 2022
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Dec 27, 2022
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Feb 8, 2023
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Mar 6, 2023
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Dec 29, 2023
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Jan 24, 2024
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Mar 26, 2024
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
dreispt pushed a commit to ursais/intrastat-extrastat that referenced this issue May 25, 2024
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
dreispt pushed a commit to ursais/intrastat-extrastat that referenced this issue Sep 12, 2024
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Nov 27, 2024
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Feb 1, 2025
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
alexis-via added a commit to akretion/intrastat-extrastat that referenced this issue Feb 11, 2025
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue OCA#110

Co-authored-by: Alexis de Lattre <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants