Code Monkey home page Code Monkey logo

Comments (4)

juanpsenn avatar juanpsenn commented on July 30, 2024

Well, I've just figured... El Client de Zeep tiene un settings que se puede usar de la siguiente forma a modo de debugging para extraer los xml de las responses.

    from xml.dom.minidom import parseString

    client = get_client('wsfe', sandbox)
    with client.settings(raw_response=True):
        status = client.service.FEDummy()
        print(parseString(status.content).toprettyxml())

from django-afip.

WhyNotHugo avatar WhyNotHugo commented on July 30, 2024

Por lo que veo, si corrés en con el logger en logging.DEBUG deberías ver el mensaje entero:

https://github.com/mvantellingen/python-zeep/blob/master/src/zeep/transports.py#L59-L71

from django-afip.

Alvezgr avatar Alvezgr commented on July 30, 2024

I'm seeing the same behavior that @juanpsenn describe here, only with Nota de credito though.
To do this validation, @juanpsenn says that "es muy variable y depende del estado tributario del emisor y receptor".
Any idea where I can find this documentation?
Maybe I'm very wrong but in my side I'm checking that:

imp_total = imp_tot_conc + imp_neto + imp_op_ex + imp_trib + imp_iva

and this has to be true for anyone regardless of the tax status.

from django-afip.

juanpsenn avatar juanpsenn commented on July 30, 2024

Hmm I don't know if there is any documentation about this. AFIP does a basic validation, in our case we didn't get any solution from AFIP devs.

from django-afip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.