Ascio Web Service v3

Class GetAccountTransactionsResponse

PropertyDescription
GetAccountTransactionsResult
TotalCountExample: 1
AccountTransactions
Currency
VatPercentageExample: 1.1
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

<?php
$wsdl = "https://aws.demo.ascio.com/v3/aws.wsdl";
//$wsdl = "https://aws.ascio.com/v3/aws.wsdl";
$client = new SoapClient($wsdl,array( "trace" => 1, "soap_version" => SOAP_1_1));
$credentials = array("Account"=> "myaccount", "Password" => "mypassword");
$header = new \SoapHeader("http://www.ascio.com/2013/02","SecurityHeaderDetails", $credentials, false);
$client->__setSoapHeaders($header);
//AccountTransaction

$accountTransaction =  [
	"AccountTransactionType" => "Invoice",
	"Created" => "CreatedTest",
	"Amount" => 1.1,
	"Balance" => 1.1,
	"InvoiceNo" => 1,
	"CreditNo" => 1,
	"Note" => "NoteTest",
	"CreatedBy" => "CreatedByTest",
	"VatPercentage" => 1.1
];
//ArrayOfAccountTransactions

$accountTransactions =  [
	"AccountTransaction" => [$accountTransaction]
];
//GetAccountTransactionsResponse

$getAccountTransactionsResponse =  [
	"ResultCode" => 1,
	"ResultMessage" => "ResultMessageTest",
	"Errors" => [
	],
	"TotalCount" => 1,
	"AccountTransactions" => $accountTransactions,
	"Currency" => "CurrencyTest",
	"VatPercentage" => 1.1
];
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.