Ascio Web Service v3

Class GetInvoiceResponse

PropertyDescription
GetInvoiceResult
InvoiceNoExample: 1
AmountExample: 1.1
VatPercentageExample: 1.1
Created
CreatedBy
Note
Currency
SalesLineGroups
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

<?php
namespace ascio\v3\examples;
require("../service/autoload.php");
require("../../lib/AscioConfig.php");
use ascio\v3 as ascio;


$salesLineGroup =  new ascio\SalesLineGroup();
$salesLineGroup->setProductName("ProductNameTest");
$salesLineGroup->setSum(1.1);
$salesLineGroup->setUnits(1);

$salesLineGroups =  new ascio\ArrayOfSalesLineGroups();
$salesLineGroups->setSalesLineGroup([$salesLineGroup]);

$getInvoiceResponse =  new ascio\GetInvoiceResponse();
$getInvoiceResponse->setResultCode(1);
$getInvoiceResponse->setResultMessage("ResultMessageTest");
$getInvoiceResponse->setErrors([
]);
$getInvoiceResponse->setInvoiceNo(1);
$getInvoiceResponse->setAmount(1.1);
$getInvoiceResponse->setVatPercentage(1.1);
$getInvoiceResponse->setCreated(new \DateTime());
$getInvoiceResponse->setCreatedBy("CreatedByTest");
$getInvoiceResponse->setNote("NoteTest");
$getInvoiceResponse->setCurrency("CurrencyTest");
$getInvoiceResponse->setSalesLineGroups($salesLineGroups);
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.