-
Notifications
You must be signed in to change notification settings - Fork 220
Update rnc.py #462
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
base: master
Are you sure you want to change the base?
Update rnc.py #462
Conversation
The dgii_wsdl URL changed from https://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL to https://www.dgii.gov.do/ventanillaunica/ventanillaunica.asmx?WSDL.
Hello @arthurdejong, kind reminder. |
Hellow, @kvillar93 thanks!!!! |
I'm tried this new link and do not working :( |
@raulovallet, @kvillar93 it seems that dgii changed the structure and gatekeeps rnc validation with basic auth (username, password)
|
this is the old structure, use it as reference https://web.archive.org/web/20180208032245/http://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?op=GetContribuyentes |
Hi @kvillar93, Thanks for the notification. Can you update the PR to fix the problem with the changed API? You can run the tests for this with The tests currently fail with:
|
does it was merged to master? |
A fix for the problem has not been merged because there is no solution available yet that works. I've had a look at the WSDL provided at https://www.dgii.gov.do/ventanillaunica/ventanillaunica.asmx?WSDL and it seems that authentication may be enforced (the API states that username and password are optional but I have not been able to make a successful call yet). <s:element name="VerificaRnc">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="pUsuario" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="pPassword" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="pRnc" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element> I always seem to get some variation of:
Does anyone have a pointer to the documentation? |
The dgii_wsdl URL changed from https://www.dgii.gov.do/wsMovilDGII/WSMovilDGII.asmx?WSDL to https://www.dgii.gov.do/ventanillaunica/ventanillaunica.asmx?WSDL.