Coder Social home page Coder Social logo

sistrategiacfdi's Introduction

SistrategiaCFDi

Sistrategia's CFDi solution.

sistrategiacfdi's People

Contributors

amendezg avatar eocampo avatar jossxanat avatar liiz avatar mmonsalvo avatar thorvictor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sistrategiacfdi's Issues

XML generation before stamp based on Localization

Before an invoice is stamped, XML file is generated with numbers format based on current application language location. If this setting is changed before stamping, the numbers format also does it.

Revisar el código del tag archive/CertificadoDER

El 25 de Octubre del 2016 (más de un año) se hicieron cambios en la generación del certificado para la CANCELACIÓN. Esto es porque el sistema tiene que enviar el certificado al PAC (EDICOM) y la nueva implementación utilizaba directamente el archivo generado por el SAT y no un PFX. El código en los siguientes commits fue parte del branch CertificadoDER que fue descartado por otra implementación, pero es importante revisar las estrategias que se estaban utilizando:

Tag:
https://github.com/Sistrategia/SistrategiaCFDi/tree/archive/CertificadoDER

Commits:
a1bca8d
68ad073

Review the insertion of special characters (like semicolons)

Review the insertion of special characters (like semicolons) in concept description or other attributes and nodes of the CFDi. Current implementation fails in the generation of the CFDI stamp when a semicolon is included by the user in the descrption of a concept. This could be as part of the encoding in the xml, or in the "Cadena Original" or in the Base64 conversion before the hashing process

BUG: ComprobanteController does not include Impuestos.Traslado when Tasa = 0

When the user adds the 0% 'IVA' tax (for international services as an example) the Controller does not create the Impuestos.Traslado node.

CFDI can include concepts with 0% 'IVA' taxes and without the tax. Current code converts 0% to none.

foreach (var modelTraslado in model.Traslados) {
  if (modelTraslado.Tasa > 0 && modelTraslado.Importe > 0) {
    comprobante.Impuestos.Traslados.Add(new Traslado {
      Importe = modelTraslado.Importe,
      Impuesto = modelTraslado.Impuesto,
      Tasa = modelTraslado.Tasa,
    });
  }
}

Verify CFDIXmlTextWriter code and method GetCadenaOriginal.

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.