Giter Club home page Giter Club logo

at-test's Introduction

AT - Enviar guias de transporte

Codigo PHP para enviar guias de transporte para a AT

Baseado no codigo do StadaExp (sem dependencias externas, mas requer SOAP) e no código que disponibilizei em 2013 para a versão 5 do PHP.

Requer

  1. SoapClient activo: https://www.php.net/manual/en/class.soapclient.php
  2. ChavePublicaAT.cer : (pasta certs) https://faturas.portaldasfinancas.gov.pt/factemipf_static/java/certificados.zip
  3. TesteWebservices.pfx (pasta certs - convertido para pem, este ficheiro está disponivel no mesmo arquivo comprimido que a ChavePublica)
  4. documentosTransporte.wsdl (pasta wsdl): http://info.portaldasfinancas.gov.pt/pt/apoio_contribuinte/Documents/documentosTransporte.wsdl

Certificados e WSDL a funcionar a 14/04/2022

https://github.com/eSkiSo/codigo_at/files/8491405/certs_wsdl.zip

Converter TesteWebservices.pfx para TesteWebservices.pem:

Password: TESTEwebservice

openssl pkcs12 -in TesteWebservices.pfx -out TesteWebservices.pem -nodes

at-test

at-test's People

Contributors

carlosbranco avatar

Watchers

 avatar

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.