Skip to main content

Partial_ERPCreateInvoiceRequest


Partial_ERPCreateInvoiceRequest

Properties​

client​

public int|null|\Onslip360\Nil $client

customer​

public \Onslip360\API\Partial_Customer|null $customer

items​

public array|null $items

location​

public int|null|\Onslip360\Nil $location

originalInvoiceId​

public string|null|\Onslip360\Nil $originalInvoiceId

ourReference​

public string|null|\Onslip360\Nil $ourReference

reference​

public string|null|\Onslip360\Nil $reference

rounding​

public float|null $rounding

totalAmount​

public float|null $totalAmount

totalVatAmount​

public float|null $totalVatAmount

Methods​

__construct​

public __construct(int|null|\Onslip360\Nil $client = null, \Onslip360\API\Partial_Customer|null $customer = null, \Onslip360\API\Partial_Item[]|null $items = null, int|null|\Onslip360\Nil $location = null, string|null|\Onslip360\Nil $originalInvoiceId = null, string|null|\Onslip360\Nil $ourReference = null, string|null|\Onslip360\Nil $reference = null, float|null $rounding = null, float|null $totalAmount = null, float|null $totalVatAmount = null): mixed

Parameters:

ParameterTypeDescription
$clientint|null|\Onslip360\Nil
$customer\Onslip360\API\Partial_Customer|null
$items\Onslip360\API\Partial_Item[]|null
$locationint|null|\Onslip360\Nil
$originalInvoiceIdstring|null|\Onslip360\Nil
$ourReferencestring|null|\Onslip360\Nil
$referencestring|null|\Onslip360\Nil
$roundingfloat|null
$totalAmountfloat|null
$totalVatAmountfloat|null

Inherited methods​

getExtended​

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended​

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson​

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray​

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize​

public jsonSerialize(): array|object


Automatically generated on 2026-06-17