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: RC Entry of factura has blank emisor razón social #183

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

rcv: RC Entry of factura has blank emisor razón social #183

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 RcRegistroDetalleEntry of a (non-electronic) factura (<RcvTipoDocto.FACTURA: 30>) have a blank (empty string) emisor razón social?

Sentry Issue: FD-CL-DATA-13E

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 784, in to_detalle_entry
    detalle_entry = RcRegistroDetalleEntry(
  File "<string>", line 12, in __init__
    from datetime import date, datetime
  File "cl_sii/rcv/data_models.py", line 281, in __post_init__
    cl_sii.dte.data_models.validate_contribuyente_razon_social(self.emisor_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
@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