Skip to content

Commit

Permalink
Atualizado tabela IBPT
Browse files Browse the repository at this point in the history
Corrigido URL de consulta de alguns estados
Versão mínima do PHP para 7.1
  • Loading branch information
mazinsw committed Aug 16, 2019
1 parent 657195e commit b00c1a2
Show file tree
Hide file tree
Showing 174 changed files with 712 additions and 809 deletions.
3 changes: 1 addition & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
build:
environment:
php: '5.6'
php: '7.0'
php: '7.1'
php: '7.2'
php: '7.3'

filter:
excluded_paths:
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3

before_script:
- composer install --no-interaction --prefer-source
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Para melhoria do projeto envie suas implementações por meio de um Pull request
Caso tenha problemas ao utilizar a biblioteca, acesse o grupo no Discord: https://discord.gg/XGU2Y77

## Dependências
- PHP 5.6 ou superior
- PHP 7.1 ou superior
- Extensão openssl para assinatura da nota
- Extensão curl para envio da nota

Expand Down
1 change: 0 additions & 1 deletion api/NFe/Common/CurlSoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
*/
class CurlSoap extends Curl
{

const ENVELOPE = <<<XML
<?xml version="1.0" encoding="UTF-8"?>
<soap12:Envelope
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Core/NFe.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
*/
class NFe extends Nota
{

public function __construct($nfe = [])
{
parent::__construct($nfe);
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Database/Banco.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

abstract class Banco
{

public function __construct($banco = [])
{
$this->fromArray($banco);
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Database/Estatico.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

class Estatico extends Banco
{

private $ibpt;
private $uf_codes;
private $mun_codes;
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Database/IBPT.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

class IBPT
{

private $tabela;
private $offline;

Expand Down
2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/AC.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/AL.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/AM.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/AP.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/BA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/CE.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/DF.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/ES.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/GO.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/MA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/MG.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/MS.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/MT.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/PA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/PB.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/PE.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/PI.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/PR.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/RJ.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/RN.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/RO.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/RR.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/RS.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/SC.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/SE.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/SP.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/NFe/Database/data/IBPT/TO.json

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions api/NFe/Database/data/servicos.json
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@
"versao": "1.00"
},
"qrcode": "http://www.dfe.ms.gov.br/nfce/qrcode",
"consulta": "http://www.dfe.ms.gov.br/nfce"
"consulta": "http://www.dfe.ms.gov.br/nfce/consulta"
},
"homologacao": {
"autorizacao": {
Expand Down Expand Up @@ -854,7 +854,7 @@
"versao": "1.00"
},
"qrcode": "http://www.dfe.ms.gov.br/nfce/qrcode",
"consulta": "http://www.dfe.ms.gov.br/nfce"
"consulta": "http://www.dfe.ms.gov.br/nfce/consulta"
}
}
},
Expand Down Expand Up @@ -1088,11 +1088,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://nfce.sefaz.pe.gov.br/nfce-web/consultarNFCe",
"consulta": "nfce.sefaz.pe.gov.br/nfce/consulta"
"consulta": "http://nfce.sefaz.pe.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://nfcehomolog.sefaz.pe.gov.br/nfce-web/consultarNFCe",
"consulta": "nfce.sefaz.pe.gov.br/nfce/consulta"
"consulta": "http://nfce.sefaz.pe.gov.br/nfce/consulta"
}
}
},
Expand Down Expand Up @@ -1211,8 +1211,8 @@
"servico": "NFeRecepcaoEvento4",
"versao": "1.00"
},
"qrcode": "http://www.fazenda.pr.gov.br/nfce/qrcode/",
"consulta": "http://www.fazenda.pr.gov.br"
"qrcode": "http://www.fazenda.pr.gov.br/nfce/qrcode",
"consulta": "http://www.fazenda.pr.gov.br/nfce/consulta"
},
"homologacao": {
"autorizacao": {
Expand Down Expand Up @@ -1244,8 +1244,8 @@
"servico": "NFeRecepcaoEvento4",
"versao": "1.00"
},
"qrcode": "http://www.fazenda.pr.gov.br/nfce/qrcode/",
"consulta": "http://www.fazenda.pr.gov.br"
"qrcode": "http://www.fazenda.pr.gov.br/nfce/qrcode",
"consulta": "http://www.fazenda.pr.gov.br/nfce/consulta"
}
}
},
Expand Down Expand Up @@ -1345,7 +1345,7 @@
"versao": "1.00"
},
"qrcode": "https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx",
"consulta": "https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"
"consulta": "https://www.sefaz.rs.gov.br/nfce/consulta"
},
"homologacao": {
"autorizacao": {
Expand Down Expand Up @@ -1374,7 +1374,7 @@
"versao": "1.00"
},
"qrcode": "https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx",
"consulta": "https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"
"consulta": "https://www.sefaz.rs.gov.br/nfce/consulta"
}
}
},
Expand Down Expand Up @@ -1727,11 +1727,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp",
"consulta": "http://www.nfce.sefaz.ma.gov.br/portal/consultaNFe.do?method=preFilterCupom"
"consulta": "http://www.sefaz.ma.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp",
"consulta": "http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"
"consulta": "http://www.sefaz.ma.gov.br/nfce/consulta"
}
}
},
Expand Down Expand Up @@ -1778,11 +1778,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp",
"consulta": "http://nfce.sefaz.al.gov.br/consultaNFCe.htm"
"consulta": "http://www.sefaz.al.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp",
"consulta": "http://nfce.sefaz.al.gov.br/consultaNFCe.htm"
"consulta": "http://www.sefaz.al.gov.br/nfce/consulta"
}
}
},
Expand Down Expand Up @@ -1812,11 +1812,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx",
"consulta": "http://dec.fazenda.df.gov.br/NFCE/"
"consulta": "http://www.fazenda.df.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx",
"consulta": "http://dec.fazenda.df.gov.br/NFCE/"
"consulta": "http://www.fazenda.df.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1829,11 +1829,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx",
"consulta": "http://app.sefaz.es.gov.br/ConsultaNFCe"
"consulta": "http://www.sefaz.es.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx",
"consulta": "http://homologacao.sefaz.es.gov.br/ConsultaNFCe"
"consulta": "http://www.sefaz.es.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1846,7 +1846,7 @@
"base": "SVRS",
"producao": {
"qrcode": "http://www.receita.pb.gov.br/nfce",
"consulta": "http://www.receita.pb.gov.br/nfce"
"consulta": "http://www.receita.pb.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://www.receita.pb.gov.br/nfcehom",
Expand All @@ -1862,12 +1862,12 @@
"nfce": {
"base": "SVRS",
"producao": {
"qrcode": "http://webas.sefaz.pi.gov.br/nfceweb/consultarNFCe.jsf",
"consulta": "http://webas.sefaz.pi.gov.br/nfceweb/consultarNFCe.jsf"
"qrcode": "http://http://www.sefaz.pi.gov.br/nfce/qrcode",
"consulta": "http://www.sefaz.pi.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://webas.sefaz.pi.gov.br/nfceweb-homologacao/consultarNFCe.jsf",
"consulta": "http://webas.sefaz.pi.gov.br/nfceweb-homologacao/consultarNFCe.jsf"
"qrcode": "http://www.sefaz.pi.gov.br/nfce/qrcode",
"consulta": "http://www.sefaz.pi.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1880,11 +1880,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode",
"consulta": "www.fazenda.rj.gov.br/nfce/consulta"
"consulta": "http://www.fazenda.rj.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode",
"consulta": "www.fazenda.rj.gov.br/nfce/consulta"
"consulta": "http://www.fazenda.rj.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1897,11 +1897,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://nfce.set.rn.gov.br/consultarNFCe.aspx",
"consulta": "http://nfce.set.rn.gov.br/portalDFE/NFCe/ConsultaNFCe.aspx"
"consulta": "http://www.set.rn.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx",
"consulta": "http://hom.nfce.set.rn.gov.br/portalDFE/NFCe/ConsultaNFCe.aspx"
"consulta": "http://www.set.rn.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1914,11 +1914,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp",
"consulta": "http://www.nfce.sefin.ro.gov.br"
"consulta": "http://www.sefin.ro.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp",
"consulta": "http://www.nfce.sefin.ro.gov.br/consultaAmbHomologacao.jsp"
"consulta": "http://www.sefin.ro.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1931,11 +1931,11 @@
"base": "SVRS",
"producao": {
"qrcode": "https://www.sefaz.rr.gov.br/nfce/servlet/qrcode",
"consulta": "https://www.sefaz.rr.gov.br/nfce/servlet/wp_consulta_nfce"
"consulta": "https://www.sefaz.rr.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://200.174.88.103:8080/nfce/servlet/qrcode",
"consulta": "http://200.174.88.103:8080/nfce/servlet/wp_consulta_nfce"
"consulta": "http://www.sefaz.rr.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1957,11 +1957,11 @@
"base": "SVRS",
"producao": {
"qrcode": "http://www.nfce.se.gov.br/portal/consultarNFCe.jsp",
"consulta": "http://www.nfce.se.gov.br/portal/portalNoticias.jsp"
"consulta": "http://www.nfce.se.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://www.hom.nfe.se.gov.br/portal/consultarNFCe.jsp",
"consulta": "http://www.hom.nfe.se.gov.br/portal/portalNoticias.jsp"
"consulta": "http://www.hom.nfe.se.gov.br/nfce/consulta"
}
}
},
Expand All @@ -1973,12 +1973,12 @@
"nfce": {
"base": "SVRS",
"producao": {
"qrcode": "http://apps.sefaz.to.gov.br/portal-nfce/qrcodeNFCe",
"consulta": "http://apps.sefaz.to.gov.br/portal-nfce/consultarNFCe.jsf"
"qrcode": "http://www.sefaz.to.gov.br/nfce/qrcode",
"consulta": "http://www.sefaz.to.gov.br/nfce/consulta"
},
"homologacao": {
"qrcode": "http://apps.sefaz.to.gov.br/portal-nfce-homologacao/qrcodeNFCe",
"consulta": "http://apps.sefaz.to.gov.br/portal-nfce-homologacao/consultarNFCe.jsf"
"qrcode": "http://homologacao.sefaz.to.gov.br/nfce/qrcode",
"consulta": "http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"
}
}
}
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Endereco.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*/
class Endereco implements Node
{

private $pais;
private $cep;
private $municipio;
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Estado.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

class Estado
{

private $codigo;
private $nome;
private $uf;
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/COFINS/Aliquota.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

class Aliquota extends Imposto
{

const TRIBUTACAO_NORMAL = 'normal';
const TRIBUTACAO_DIFERENCIADA = 'diferenciada';

Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/COFINS/Generico.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

class Generico extends Imposto
{

private $valor;

public function __construct($generico = [])
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/COFINS/Quantidade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

class Quantidade extends Imposto
{

public function __construct($cofins = [])
{
parent::__construct($cofins);
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/COFINS/ST/Aliquota.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
*/
class Aliquota extends \NFe\Entity\Imposto\COFINS\Aliquota
{

public function __construct($aliquota = [])
{
parent::__construct($aliquota);
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/COFINS/ST/Quantidade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
*/
class Quantidade extends \NFe\Entity\Imposto\COFINS\Quantidade
{

public function __construct($quantidade = [])
{
parent::__construct($quantidade);
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/ICMS/Cobrado.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
*/
class Cobrado extends Generico
{

private $valor;

public function __construct($cobrado = [])
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/ICMS/Cobranca.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
*/
class Cobranca extends Parcial
{

private $normal;

public function __construct($cobranca = [])
Expand Down
1 change: 0 additions & 1 deletion api/NFe/Entity/Imposto/ICMS/Diferido.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
*/
class Diferido extends Reducao
{

private $diferimento;

public function __construct($diferido = [])
Expand Down
Loading

0 comments on commit b00c1a2

Please sign in to comment.