Skip to content

[18.0][FIX] l10n_es_*_sii: Do breakdown only when needed and mix services and goods properly by default#4797

Open
pedrobaeza wants to merge 1 commit intoOCA:18.0from
Tecnativa:18.0-fix-l10n_es_pos_sii-breakdown
Open

[18.0][FIX] l10n_es_*_sii: Do breakdown only when needed and mix services and goods properly by default#4797
pedrobaeza wants to merge 1 commit intoOCA:18.0from
Tecnativa:18.0-fix-l10n_es_pos_sii-breakdown

Conversation

@pedrobaeza
Copy link
Member

@pedrobaeza pedrobaeza commented Feb 4, 2026

For simplified invoices, the taxes breakdown is not required, but right now if you make a PoS order mixing goods and services, the dictionary structure is a mix between breakdown and not breakdown.

Let's fix it handling properly the no breakdown, and only performing it when needed. But this has led to change the base module, so not doing breakdown on other ocassions that previously were done.

@Tecnativa TT60718

@pedrobaeza pedrobaeza added this to the 18.0 milestone Feb 4, 2026
@pedrobaeza pedrobaeza force-pushed the 18.0-fix-l10n_es_pos_sii-breakdown branch from 4d86a64 to a53368f Compare February 4, 2026 21:04
@pedrobaeza pedrobaeza changed the title [18.0][FIX] l10n_es_pos_sii: Perform breakdown [18.0][FIX] l10n_es_*_sii: Do breakdown only when needed and mix services and goods properly by default Feb 4, 2026
@pedrobaeza pedrobaeza force-pushed the 18.0-fix-l10n_es_pos_sii-breakdown branch from a53368f to c9ad03f Compare February 5, 2026 06:58
@pedrobaeza
Copy link
Member Author

@HaraldPanten @almumu @etobella @omar7r este cambio proviene de un error inicial en el SII del PoS cuando se mezclan bienes y servicios, que me ha llevado a tirar del hilo y ver que básicamente se estaba haciendo desglose en cuanto se mezclaban bienes y servicios, cuando según parece, eso no es necesario salvo unos pocos casos, como intra o extra-comunitario. De ahí la gran cantidad de cambios.

Voy a seguir probándolo en casos reales, pero por el momento todo es correcto.

A ver qué os parece, que con esto la estructura enviada es más simple y menos liosa.

@pedrobaeza pedrobaeza force-pushed the 18.0-fix-l10n_es_pos_sii-breakdown branch from c9ad03f to 3c182fb Compare February 5, 2026 07:27
…nd goods properly by default

For simplified invoices, the taxes breakdown is not required, but
right now if you make a PoS order mixing goods and services, the
dictionary structure is a mix between breakdown and not breakdown.

Let's fix it handling properly the no breakdown, and only performing it
when needed. But this has led to change the base module, so not doing
breakdown on other ocassions that previously were done.

TT60718
@pedrobaeza pedrobaeza force-pushed the 18.0-fix-l10n_es_pos_sii-breakdown branch from 3c182fb to 425b58c Compare February 5, 2026 07:29
@HaraldPanten
Copy link
Contributor

Gracias Pedro,

Le echaremos un ojo junto con @ValentinVinagre y te damos feedback. De momento no fusiones 🙏

@pedrobaeza
Copy link
Member Author

Sí, no voy a fusionarlo mientras no haya un poco de pruebas de varios.

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

Successfully merging this pull request may close these issues.

2 participants