Ascio Web Service v3

Class GetCreditNoteResponse

PropertyDescription
GetCreditNoteResult
CreditNoExample: 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]);

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