sentialabs / coto

Undocumented AWS Management Console APIs SDK for Python
Other
51 stars 22 forks source link

set_tax_registration() broken #6

Closed wcarlsen closed 2 years ago

wcarlsen commented 5 years ago

Cannot set tax settings from TaxRegistration Dict according to coto documentation.

Error return from put request: Exception: failed put taxexemption/eu/vat/information: {"message":"SetTaxRegistration","type":"BPCValidationException","errorCode":"","constraintViolationCodeList":[]}

zelentsovl commented 4 years ago

I encountered the same issue when i tried to put state value to the string: 'authority': {'country': 'DE', 'state': 'Bayern'}. Changing the value to None fixed the problem: 'authority': {'country': 'DE', 'state': None}