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

rcv: RV Entry of factura exportación has blank receptor razón social #182

Open
sentry-io bot opened this issue Jan 15, 2021 · 2 comments
Open

rcv: RV Entry of factura exportación has blank receptor razón social #182

sentry-io bot opened this issue Jan 15, 2021 · 2 comments
Labels
bug Something isn't working component: rcv

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 15, 2021

Can a RvDetalleEntry of a (non-electronic) factura de exportación (<RcvTipoDocto.FACTURA_EXPORTACION: 101>) have a blank (empty string) receptor razón social?

Sentry Issue: FD-CL-DATA-13F

ValueError: Value must not be empty.
  File "cl_sii/rcv/parse_csv.py", line 1175, in _parse_rcv_csv_file
    entry = input_csv_row_schema.to_detalle_entry(deserialized_row_data)
  File "cl_sii/rcv/parse_csv.py", line 651, in to_detalle_entry
    detalle_entry = RvDetalleEntry(
  File "<string>", line 13, in __init__
    from typing import Optional
  File "cl_sii/rcv/data_models.py", line 244, in __post_init__
    cl_sii.dte.data_models.validate_contribuyente_razon_social(self.receptor_razon_social)
  File "cl_sii/dte/data_models.py", line 76, in validate_contribuyente_razon_social
    raise ValueError("Value must not be empty.")

Deserialized data to data model instance conversion failed (probably a programming error).
@jtrh jtrh added bug Something isn't working component: rcv labels Jan 15, 2021
@jtrh jtrh changed the title rcv: RvDetalleEntry of factura exportación has blank receptor razón social rcv: RV Entry of factura exportación has blank receptor razón social Jan 15, 2021
@glarrain
Copy link
Contributor

CC @yaselc @yanosky

@yaselc
Copy link

yaselc commented May 17, 2021

CC: @ycouce-cdd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: rcv
Projects
None yet
Development

No branches or pull requests

3 participants