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

Add CCE 2.0 & add move SAT definitions to Retenciones (version 2.26.0) #116

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

eclipxe13
Copy link
Owner

Add CfdiUtils\Elements\Cce30 Elements to work with "Complemento de Comercio Exterior 3.0".

Extract logic to move SAT definitions to root element to a helper in order to use it on other creators:

  • Add SatNsDefinitionsMover helper.
  • Change CfdiCreatorTrait::moveSatDefinitionsToComprobante to use helper.
  • Add RetencionesCreatorTrait::moveSatDefinitionsToRetenciones.
  • Document samples using $creator->moveSatDefinitionsToRetenciones().
  • Fix tests sample files with sat definitions on root element.

- Add RetencionesCreatorTrait::moveSatDefinitionsToRetenciones
- Add SatNsDefinitionsMover helper
- Document samples using moveSatDefinitionsToRetenciones
- Fix test sample files with sat definitions on root element
@eclipxe13 eclipxe13 merged commit 9a2dbd6 into master Jan 10, 2024
18 checks passed
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.

1 participant