/**
* This file aims to show you how to use this generated package.
* In addition, the goal is to show which methods are available and the first needed parameter(s)
* You have to use an associative array such as:
* - the key must be a constant beginning with WSDL_ from AbstractSoapClientBase class (each generated ServiceType class extends this class)
* - the value must be the corresponding key value (each option matches a {@link http://www.php.net/manual/en/soapclient.soapclient.php} option)
* $options = array(
* \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.asmx?wsdl',
* \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE => true,
* \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN => 'you_secret_login',
* \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD => 'you_secret_password',
* );
* etc...
*/
require_once __DIR__ . '/vendor/autoload.php';
/**
* Minimal options
*/
$options = array(
\WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'https://integrationservicewithoutmtomtest.eveelektronik.com.tr/IntegrationService.asmx?wsdl',
\WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
* Samples for Get ServiceType
*/
$get = new \ServiceType\Get($options);
/**
* Sample call for GetAvailableApplicationResponses operation/method
*/
if ($get->GetAvailableApplicationResponses(new \StructType\GetAvailableApplicationResponses()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEInvoiceSenderListUpdates operation/method
*/
if ($get->GetEInvoiceSenderListUpdates(new \StructType\GetEInvoiceSenderListUpdates()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEInvoiceReceiverListUpdates operation/method
*/
if ($get->GetEInvoiceReceiverListUpdates(new \StructType\GetEInvoiceReceiverListUpdates()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableInvoiceReturnStatus operation/method
*/
if ($get->GetAvailableInvoiceReturnStatus(new \StructType\GetAvailableInvoiceReturnStatus()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceByInvoiceID operation/method
*/
if ($get->GetInvoiceByInvoiceID(new \StructType\GetInvoiceByInvoiceID()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInboundInvoiceByMapCode operation/method
*/
if ($get->GetInboundInvoiceByMapCode(new \StructType\GetInboundInvoiceByMapCode()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEnvelope operation/method
*/
if ($get->GetEnvelope(new \StructType\GetEnvelope()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableInvoices operation/method
*/
if ($get->GetAvailableInvoices(new \StructType\GetAvailableInvoices()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableInvoicesPW operation/method
*/
if ($get->GetAvailableInvoicesPW(new \StructType\GetAvailableInvoicesPW()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableCompletedInvoices operation/method
*/
if ($get->GetAvailableCompletedInvoices(new \StructType\GetAvailableCompletedInvoices()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableInvoicesByDate operation/method
*/
if ($get->GetAvailableInvoicesByDate(new \StructType\GetAvailableInvoicesByDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableInvoicesWithDate operation/method
*/
if ($get->GetAvailableInvoicesWithDate(new \StructType\GetAvailableInvoicesWithDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetIncomingInvoicesByIssueDate operation/method
*/
if ($get->GetIncomingInvoicesByIssueDate(new \StructType\GetIncomingInvoicesByIssueDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveReportList operation/method
*/
if ($get->GetEArchiveReportList(new \StructType\GetEArchiveReportList()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveReportListWithPeriod operation/method
*/
if ($get->GetEArchiveReportListWithPeriod(new \StructType\GetEArchiveReportListWithPeriod()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoice operation/method
*/
if ($get->GetInvoice(new \StructType\GetInvoice()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoicePW operation/method
*/
if ($get->GetInvoicePW(new \StructType\GetInvoicePW()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceAllDirection operation/method
*/
if ($get->GetInvoiceAllDirection(new \StructType\GetInvoiceAllDirection()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoicePDF operation/method
*/
if ($get->GetInvoicePDF(new \StructType\GetInvoicePDF()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoicePDFByInvoiceId operation/method
*/
if ($get->GetInvoicePDFByInvoiceId(new \StructType\GetInvoicePDFByInvoiceId()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoicePDFByInvoiceIdWithoutDirection operation/method
*/
if ($get->GetInvoicePDFByInvoiceIdWithoutDirection(new \StructType\GetInvoicePDFByInvoiceIdWithoutDirection()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceImage operation/method
*/
if ($get->GetInvoiceImage(new \StructType\GetInvoiceImage()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceTemplate operation/method
*/
if ($get->GetInvoiceTemplate(new \StructType\GetInvoiceTemplate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveInvoice operation/method
*/
if ($get->GetEArchiveInvoice(new \StructType\GetEArchiveInvoice()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveIncomingInvoice operation/method
*/
if ($get->GetEArchiveIncomingInvoice(new \StructType\GetEArchiveIncomingInvoice()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveReport operation/method
*/
if ($get->GetEArchiveReport(new \StructType\GetEArchiveReport()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceXML operation/method
*/
if ($get->GetInvoiceXML(new \StructType\GetInvoiceXML()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceXMLWithOutFlag operation/method
*/
if ($get->GetInvoiceXMLWithOutFlag(new \StructType\GetInvoiceXMLWithOutFlag()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceWithOutFlag operation/method
*/
if ($get->GetInvoiceWithOutFlag(new \StructType\GetInvoiceWithOutFlag()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetTaxIdListbyDate operation/method
*/
if ($get->GetTaxIdListbyDate(new \StructType\GetTaxIdListbyDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEInvoiceCustomerListByDate operation/method
*/
if ($get->GetEInvoiceCustomerListByDate(new \StructType\GetEInvoiceCustomerListByDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEInvoiceCustomerFullList operation/method
*/
if ($get->GetEInvoiceCustomerFullList(new \StructType\GetEInvoiceCustomerFullList()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetFormsAuthenticationTicket operation/method
*/
if ($get->GetFormsAuthenticationTicket(new \StructType\GetFormsAuthenticationTicket()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetFormsAuthenticationTicketPW operation/method
*/
if ($get->GetFormsAuthenticationTicketPW(new \StructType\GetFormsAuthenticationTicketPW()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceSummary operation/method
*/
if ($get->GetInvoiceSummary(new \StructType\GetInvoiceSummary()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceSummaryWithDate operation/method
*/
if ($get->GetInvoiceSummaryWithDate(new \StructType\GetInvoiceSummaryWithDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceCountWithDate operation/method
*/
if ($get->GetInvoiceCountWithDate(new \StructType\GetInvoiceCountWithDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCustomerDifferenceXml operation/method
*/
if ($get->GetCustomerDifferenceXml(new \StructType\GetCustomerDifferenceXml()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCustomerDifferenceBase64Xml operation/method
*/
if ($get->GetCustomerDifferenceBase64Xml(new \StructType\GetCustomerDifferenceBase64Xml()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableSentInvoicesByDate operation/method
*/
if ($get->GetAvailableSentInvoicesByDate(new \StructType\GetAvailableSentInvoicesByDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAvailableSentInvoicesByIssueDate operation/method
*/
if ($get->GetAvailableSentInvoicesByIssueDate(new \StructType\GetAvailableSentInvoicesByIssueDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetHashOfInvoice operation/method
*/
if ($get->GetHashOfInvoice(new \StructType\GetHashOfInvoice()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveInvoicesByDate operation/method
*/
if ($get->GetEArchiveInvoicesByDate(new \StructType\GetEArchiveInvoicesByDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveInvoicesWithDate operation/method
*/
if ($get->GetEArchiveInvoicesWithDate(new \StructType\GetEArchiveInvoicesWithDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveInvoicesWithIssueDateAndTaxNumber operation/method
*/
if ($get->GetEArchiveInvoicesWithIssueDateAndTaxNumber(new \StructType\GetEArchiveInvoicesWithIssueDateAndTaxNumber()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetInvoiceHTML operation/method
*/
if ($get->GetInvoiceHTML(new \StructType\GetInvoiceHTML()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetEArchiveInvoicesByReportNo operation/method
*/
if ($get->GetEArchiveInvoicesByReportNo(new \StructType\GetEArchiveInvoicesByReportNo()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetNewInvoiceId operation/method
*/
if ($get->GetNewInvoiceId(new \StructType\GetNewInvoiceId()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetReconciliationEArchiveByDate operation/method
*/
if ($get->GetReconciliationEArchiveByDate(new \StructType\GetReconciliationEArchiveByDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetReconciliationEArchiveByDateExtended operation/method
*/
if ($get->GetReconciliationEArchiveByDateExtended(new \StructType\GetReconciliationEArchiveByDateExtended()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetGTBRefAndRegisterNumber operation/method
*/
if ($get->GetGTBRefAndRegisterNumber(new \StructType\GetGTBRefAndRegisterNumber()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetIncomingInvoiceBranchInfo operation/method
*/
if ($get->GetIncomingInvoiceBranchInfo(new \StructType\GetIncomingInvoiceBranchInfo()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Samples for Send ServiceType
*/
$send = new \ServiceType\Send($options);
/**
* Sample call for SendApplicationResponse operation/method
*/
if ($send->SendApplicationResponse(new \StructType\SendApplicationResponse()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendMailQueueAgainResponse operation/method
*/
if ($send->SendMailQueueAgainResponse(new \StructType\SendMailQueueAgainResponse()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendInvoiceData operation/method
*/
if ($send->SendInvoiceData(new \StructType\SendInvoiceData()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendEArchiveData operation/method
*/
if ($send->SendEArchiveData(new \StructType\SendEArchiveData()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendBase64StringEArchiveData operation/method
*/
if ($send->SendBase64StringEArchiveData(new \StructType\SendBase64StringEArchiveData()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendInvoiceDataWithTemplateCode operation/method
*/
if ($send->SendInvoiceDataWithTemplateCode(new \StructType\SendInvoiceDataWithTemplateCode()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendEArchiveDataWithTemplateCode operation/method
*/
if ($send->SendEArchiveDataWithTemplateCode(new \StructType\SendEArchiveDataWithTemplateCode()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendBase64StringEArchiveDataWithTemplateCode operation/method
*/
if ($send->SendBase64StringEArchiveDataWithTemplateCode(new \StructType\SendBase64StringEArchiveDataWithTemplateCode()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendBase64StringInvoice operation/method
*/
if ($send->SendBase64StringInvoice(new \StructType\SendBase64StringInvoice()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendBase64StringInvoiceWithTemplateCode operation/method
*/
if ($send->SendBase64StringInvoiceWithTemplateCode(new \StructType\SendBase64StringInvoiceWithTemplateCode()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendXmlInvoice operation/method
*/
if ($send->SendXmlInvoice(new \StructType\SendXmlInvoice()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendUBLInvoice operation/method
*/
if ($send->SendUBLInvoice(new \StructType\SendUBLInvoice()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendCumulativeInvoiceData operation/method
*/
if ($send->SendCumulativeInvoiceData(new \StructType\SendCumulativeInvoiceData()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendInvoiceAsEmail operation/method
*/
if ($send->SendInvoiceAsEmail(new \StructType\SendInvoiceAsEmail()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Sample call for SendTaxFreeInvoiceData operation/method
*/
if ($send->SendTaxFreeInvoiceData(new \StructType\SendTaxFreeInvoiceData()) !== false) {
print_r($send->getResult());
} else {
print_r($send->getLastError());
}
/**
* Samples for Re ServiceType
*/
$re = new \ServiceType\Re($options);
/**
* Sample call for ReSendInvoiceData operation/method
*/
if ($re->ReSendInvoiceData(new \StructType\ReSendInvoiceData()) !== false) {
print_r($re->getResult());
} else {
print_r($re->getLastError());
}
/**
* Sample call for ReSendInvoice operation/method
*/
if ($re->ReSendInvoice(new \StructType\ReSendInvoice()) !== false) {
print_r($re->getResult());
} else {
print_r($re->getLastError());
}
/**
* Samples for Cancel ServiceType
*/
$cancel = new \ServiceType\Cancel($options);
/**
* Sample call for CancelEArchiveInvoice operation/method
*/
if ($cancel->CancelEArchiveInvoice(new \StructType\CancelEArchiveInvoice()) !== false) {
print_r($cancel->getResult());
} else {
print_r($cancel->getLastError());
}
/**
* Sample call for CancelInvoiceNumber operation/method
*/
if ($cancel->CancelInvoiceNumber(new \StructType\CancelInvoiceNumber()) !== false) {
print_r($cancel->getResult());
} else {
print_r($cancel->getLastError());
}
/**
* Sample call for CancelEArchiveInvoiceStringDate operation/method
*/
if ($cancel->CancelEArchiveInvoiceStringDate(new \StructType\CancelEArchiveInvoiceStringDate()) !== false) {
print_r($cancel->getResult());
} else {
print_r($cancel->getLastError());
}
/**
* Sample call for CancelEArchiveInvoiceStringDateAndAmount operation/method
*/
if ($cancel->CancelEArchiveInvoiceStringDateAndAmount(new \StructType\CancelEArchiveInvoiceStringDateAndAmount()) !== false) {
print_r($cancel->getResult());
} else {
print_r($cancel->getLastError());
}
/**
* Sample call for CancelInvoice operation/method
*/
if ($cancel->CancelInvoice(new \StructType\CancelInvoice()) !== false) {
print_r($cancel->getResult());
} else {
print_r($cancel->getLastError());
}
/**
* Sample call for CancelInvoiceDataForTaxFree operation/method
*/
if ($cancel->CancelInvoiceDataForTaxFree(new \StructType\CancelInvoiceDataForTaxFree()) !== false) {
print_r($cancel->getResult());
} else {
print_r($cancel->getLastError());
}
/**
* Samples for Upload ServiceType
*/
$upload = new \ServiceType\Upload($options);
/**
* Sample call for UploadFromArchiveOutgoing operation/method
*/
if ($upload->UploadFromArchiveOutgoing(new \StructType\UploadFromArchiveOutgoing()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveUBLOutgoing operation/method
*/
if ($upload->UploadFromArchiveUBLOutgoing(new \StructType\UploadFromArchiveUBLOutgoing()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveEnvelopeOutgoing operation/method
*/
if ($upload->UploadFromArchiveEnvelopeOutgoing(new \StructType\UploadFromArchiveEnvelopeOutgoing()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveIncoming operation/method
*/
if ($upload->UploadFromArchiveIncoming(new \StructType\UploadFromArchiveIncoming()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveUBLIncoming operation/method
*/
if ($upload->UploadFromArchiveUBLIncoming(new \StructType\UploadFromArchiveUBLIncoming()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveEnvelopeIncoming operation/method
*/
if ($upload->UploadFromArchiveEnvelopeIncoming(new \StructType\UploadFromArchiveEnvelopeIncoming()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveEArchive operation/method
*/
if ($upload->UploadFromArchiveEArchive(new \StructType\UploadFromArchiveEArchive()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Sample call for UploadFromArchiveEArchiveReport operation/method
*/
if ($upload->UploadFromArchiveEArchiveReport(new \StructType\UploadFromArchiveEArchiveReport()) !== false) {
print_r($upload->getResult());
} else {
print_r($upload->getLastError());
}
/**
* Samples for Check ServiceType
*/
$check = new \ServiceType\Check($options);
/**
* Sample call for CheckGibStatus operation/method
*/
if ($check->CheckGibStatus(new \StructType\CheckGibStatus()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckInvoiceState operation/method
*/
if ($check->CheckInvoiceState(new \StructType\CheckInvoiceState()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckEArchiveInvoiceState operation/method
*/
if ($check->CheckEArchiveInvoiceState(new \StructType\CheckEArchiveInvoiceState()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckEArchiveReportState operation/method
*/
if ($check->CheckEArchiveReportState(new \StructType\CheckEArchiveReportState()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckInvoiceStateWithReconciliationID operation/method
*/
if ($check->CheckInvoiceStateWithReconciliationID(new \StructType\CheckInvoiceStateWithReconciliationID()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckEnvelopeState operation/method
*/
if ($check->CheckEnvelopeState(new \StructType\CheckEnvelopeState()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckTaxIdListFromExcelFile operation/method
*/
if ($check->CheckTaxIdListFromExcelFile(new \StructType\CheckTaxIdListFromExcelFile()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckCustomerTaxId operation/method
*/
if ($check->CheckCustomerTaxId(new \StructType\CheckCustomerTaxId()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Sample call for CheckCustomerTaxIdbyDate operation/method
*/
if ($check->CheckCustomerTaxIdbyDate(new \StructType\CheckCustomerTaxIdbyDate()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Samples for Accept ServiceType
*/
$accept = new \ServiceType\Accept($options);
/**
* Sample call for AcceptInvoice operation/method
*/
if ($accept->AcceptInvoice(new \StructType\AcceptInvoice()) !== false) {
print_r($accept->getResult());
} else {
print_r($accept->getLastError());
}
/**
* Samples for Reject ServiceType
*/
$reject = new \ServiceType\Reject($options);
/**
* Sample call for RejectInvoice operation/method
*/
if ($reject->RejectInvoice(new \StructType\RejectInvoice()) !== false) {
print_r($reject->getResult());
} else {
print_r($reject->getLastError());
}
/**
* Sample call for RejectInvoiceWithNotify operation/method
*/
if ($reject->RejectInvoiceWithNotify(new \StructType\RejectInvoiceWithNotify()) !== false) {
print_r($reject->getResult());
} else {
print_r($reject->getLastError());
}
/**
* Samples for Delete ServiceType
*/
$delete = new \ServiceType\Delete($options);
/**
* Sample call for DeleteEArchiveInvoice operation/method
*/
if ($delete->DeleteEArchiveInvoice(new \StructType\DeleteEArchiveInvoice()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteEArchiveReport operation/method
*/
if ($delete->DeleteEArchiveReport(new \StructType\DeleteEArchiveReport()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Samples for Log ServiceType
*/
$log = new \ServiceType\Log($options);
/**
* Sample call for LogServerStatus operation/method
*/
if ($log->LogServerStatus(new \StructType\LogServerStatus()) !== false) {
print_r($log->getResult());
} else {
print_r($log->getLastError());
}
/**
* Samples for Process ServiceType
*/
$process = new \ServiceType\Process($options);
/**
* Sample call for ProcessDataWithCode operation/method
*/
if ($process->ProcessDataWithCode(new \StructType\ProcessDataWithCode()) !== false) {
print_r($process->getResult());
} else {
print_r($process->getLastError());
}
/**
* Samples for Update ServiceType
*/
$update = new \ServiceType\Update($options);
/**
* Sample call for UpdateEnvelopeStatusFromGib operation/method
*/
if ($update->UpdateEnvelopeStatusFromGib(new \StructType\UpdateEnvelopeStatusFromGib()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Samples for Out ServiceType
*/
$out = new \ServiceType\Out($options);
/**
* Sample call for OutSidersSendEmail operation/method
*/
if ($out->OutSidersSendEmail(new \StructType\OutSidersSendEmail()) !== false) {
print_r($out->getResult());
} else {
print_r($out->getLastError());
}
/**
* Samples for Partner ServiceType
*/
$partner = new \ServiceType\Partner($options);
/**
* Sample call for PartnerAndCorporateContourInfo operation/method
*/
if ($partner->PartnerAndCorporateContourInfo(new \StructType\PartnerAndCorporateContourInfo()) !== false) {
print_r($partner->getResult());
} else {
print_r($partner->getLastError());
}
/**
* Samples for Corporate ServiceType
*/
$corporate = new \ServiceType\Corporate($options);
/**
* Sample call for CorporateContourInfo operation/method
*/
if ($corporate->CorporateContourInfo(new \StructType\CorporateContourInfo()) !== false) {
print_r($corporate->getResult());
} else {
print_r($corporate->getLastError());
}
/**
* Samples for Using ServiceType
*/
$using = new \ServiceType\Using($options);
/**
* Sample call for UsingCountsForPartner operation/method
*/
if ($using->UsingCountsForPartner(new \StructType\UsingCountsForPartner()) !== false) {
print_r($using->getResult());
} else {
print_r($using->getLastError());
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO