Skip to content

Conversation

@jtrh
Copy link
Contributor

@jtrh jtrh commented Jan 17, 2021

jtrh and others added 12 commits January 12, 2021 20:18
- Add `CesionL0` class.
- Add `CesionL1` class.
- Add `CesionL2` class.
- Add tests.
Add a method to create a `CesionL2` from a `CesionesPeriodoEntry`.
Validate consistency of cesión and DTE amounts with validator from
`validate_cesion_and_dte_montos`.
Add comments clarifying the meaning of the attribute
`CesionesPeriodoEntry.fecha_cesion_dt`.
…odels

rtc: Add data models for "cesión"
…g-leftovers

rtc.data_models: Clean up configuration leftovers from tests
- Add a data model for the SII's "Archivo Electrónico de Cesión" (AEC)
  in XML format.
- Add a data model for the "cesiones" contained in an AEC.
rtc: Add data models and parser for AECs
@jtrh jtrh self-assigned this Jan 17, 2021
@jtrh jtrh added the kind: release Release label Jan 17, 2021
@codecov-io
Copy link

codecov-io commented Jan 17, 2021

Codecov Report

Merging #184 (7ac197d) into master (ba55f4e) will increase coverage by 3.21%.
The diff coverage is 90.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
+ Coverage   77.62%   80.83%   +3.21%     
==========================================
  Files          28       30       +2     
  Lines        1908     2505     +597     
  Branches      319      377      +58     
==========================================
+ Hits         1481     2025     +544     
- Misses        280      306      +26     
- Partials      147      174      +27     
Impacted Files Coverage Δ
cl_sii/rtc/parse_aec.py 89.74% <89.74%> (ø)
cl_sii/rtc/data_models_aec.py 90.38% <90.38%> (ø)
cl_sii/rtc/data_models.py 91.16% <90.43%> (-1.49%) ⬇️
cl_sii/rtc/data_models_cesiones_periodo.py 56.25% <100.00%> (+1.20%) ⬆️
cl_sii/dte/data_models.py 67.83% <0.00%> (+3.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba55f4e...7ac197d. Read the comment docs.

@jtrh jtrh marked this pull request as ready for review January 17, 2021 21:12
@jtrh jtrh requested a review from glarrain January 17, 2021 21:13
@jtrh jtrh merged commit ca0b96f into master Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants