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

Adding projects for the Bizkaia fiscalization + autogenerated Dtos #219

Merged
merged 6 commits into from
Oct 5, 2023

Conversation

inakiesteve
Copy link
Contributor

@inakiesteve inakiesteve commented Oct 3, 2023

Description

Adding autogenerated DTOS to support batuz fiscal integration.

Type of change

  • Bug fix.
  • [ x] Feature.
  • Consolidation.

Checklist

  • Is breaking change.
  • Documentation updated.
  • Tests included (please specify cases).

A few other PRs will follow this one with models and unit tests to validate the DTOs.

Comment on lines 55 to 59
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Bizkaia", "Bizkaia", "{B33E5A1D-A667-477D-9AD8-1673192B71BB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mews.Fiscalizations.Bizkaia", "Mews.Fiscalizations.Bizkaia\Mews.Fiscalizations.Bizkaia.csproj", "{145C287C-2D14-4B35-A73A-6A97ABBF3F10}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mews.Fiscalizations.Bizkaia.Tests", "Mews.Fiscalizations.Bizkaia.Tests\Mews.Fiscalizations.Bizkaia.Tests.csproj", "{2767CE08-C4C2-4043-AC58-C413ECB64D3A}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If i remember correctly, Bizkaia and the other 2 regions share most of the stuff (almost identical XSDs)

so i suggest that we either implement Bizkaia within the same project (Basque), or rename the Basque project to something else like GipuzkoaAndAraba, or having a project per region.

I would go with the first solution (all regions within 1 project).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will go with option 1 and have all regions in the same project..

src/Mews.Fiscalizations.Bizkaia/Dto/BatuzInvoiceRequest.cs Outdated Show resolved Hide resolved
"tidas_ConSG_AltaPeticion_V1_0_2.xsd")]
[XmlRoot(Namespace = "https://www.batuz.eus/fitxategiak/batuz/LROE/esquemas/LROE_PJ_240_1_1_FacturasEmi" +
"tidas_ConSG_AltaPeticion_V1_0_2.xsd", IsNullable = false)]
public class LROEPJ240FacturasEmitidasConSGAltaPeticion
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's confirm with the research team that only model 240 is applicable in our case.

@abdallahbeshi abdallahbeshi merged commit 3179521 into master Oct 5, 2023
7 checks passed
@abdallahbeshi abdallahbeshi deleted the add-bizkaia-fiscalization-projects branch October 5, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants