repositório com os arquivos utilizados para integração entre o sistema SimplesIP e diversos sistemas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
776 B

#!/usr/bin/php -q
<?php
require "SGP.php";
$sgp = new SGP(CONF_TOKEN_API, CONF_URL_API, CONF_USERID_API, CONF_LOGGER_ATIVO);
//$clienteDados = $sgp->identificarDocumento('12787859739');
//$clienteDados = $sgp->identificarDocumento('856.506.922-20');
//$clienteDados = $sgp->identificarDocumento('322.547.502-59');
//echo "Resultado: " . (null + 1);
//$faturas = $sgp->segundaVia('22');
//$faturas = $sgp->liberacaoPromessa('22');
$enviado = $sgp->enviaFatura('23', 'sms');
//echo "nome: ".$clienteDados['contratos'][0]['razaoSocial'];
//$sgp->segundaVia($contract_number);
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/