class InvoiceReverse extends AbstractInvoice

Traits

Methods

getControlId()

Get control ID

setControlId($controlId = null)

Set control ID

__construct(string $controlId = null)

Initializes the class with the given parameters.

writeXml(XMLWriter $xml)

Write the function block XML

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

int|string
getRecordNo()

Get record number

setRecordNo(int|string $recordNo)

Set record number

string
getCustomerId()

Get customer ID

setCustomerId(string $customerId)

Set customer ID

getTransactionDate()

Get transaction date

setTransactionDate(DateType $transactionDate)

Set transaction date

getGlPostingDate()

Get GL posting date

setGlPostingDate(DateType $glPostingDate)

Set GL posting date

string
getAction()

Get action

setAction(string $action)

Set action

int|string
getSummaryRecordNo()

Get summary record number

setSummaryRecordNo(int|string $summaryRecordNo)

Set summary record number

string
getInvoiceNumber()

Get invoice number

setInvoiceNumber(string $invoiceNumber)

Set invoice number

string
getDescription()

Get description

setDescription(string $description)

Set description

string
getExternalId()

Get external ID

setExternalId(string $externalId)

Set external ID

string
getBaseCurrency()

Get base currency

setBaseCurrency(string $baseCurrency)

Set base currency

string
getTransactionCurrency()

Get transaction currency

setTransactionCurrency(string $transactionCurrency)

Set transaction currency

getExchangeRateDate()

Get exchange rate date

setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

float
getExchangeRateValue()

Get exchange rate value

setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

string
getExchangeRateType()

Get exchange rate type

setExchangeRateType(string $exchangeRateType)

Set exchange rate type

boolean
isDoNotPostToGL()

Get do not post to general ledger

setDoNotPostToGL(boolean $doNotPostToGL)

Set do not post to general ledger

getDueDate()

Get due date

setDueDate(DateType $dueDate)

Set due date

string
getPaymentTerm()

Get payment term

setPaymentTerm(string $paymentTerm)

Set payment term

string
getReferenceNumber()

Get reference number

setReferenceNumber(string $referenceNumber)

Set reference number

boolean
isOnHold()

Get on hold

setOnHold(boolean $onHold)

Set on hold

string
getBillToContactName()

Get bill to contact name

setBillToContactName(string $billToContactName)

Set bill to contact name

string
getShipToContactName()

Get ship to contact name

setShipToContactName(string $shipToContactName)

Set ship to contact name

string
getAttachmentsId()

Get attachments ID

setAttachmentsId(string $attachmentsId)

Set attachments ID

getLines()

Get invoice lines

setLines(AbstractInvoiceLine[] $lines)

Set invoice lines

getReverseDate()

Get reverse date

setReverseDate(DateType $reverseDate)

Set reverse date

string
getMemo()

Get memo

setMemo(string $memo)

Set memo

Details

in AbstractFunction at line line 35
getControlId()

Get control ID

in AbstractFunction at line line 46
setControlId($controlId = null)

Set control ID

Parameters

$controlId

Exceptions

InvalidArgumentException

in AbstractFunction at line line 67
__construct(string $controlId = null)

Initializes the class with the given parameters.

Parameters

string $controlId Control ID, default=random UUID

at line line 79
writeXml(XMLWriter $xml)

Write the function block XML

Parameters

XMLWriter $xml

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractInvoice at line line 104
int|string getRecordNo()

Get record number

Return Value

int|string

in AbstractInvoice at line line 114
setRecordNo(int|string $recordNo)

Set record number

Parameters

int|string $recordNo

in AbstractInvoice at line line 124
string getCustomerId()

Get customer ID

Return Value

string

in AbstractInvoice at line line 134
setCustomerId(string $customerId)

Set customer ID

Parameters

string $customerId

in AbstractInvoice at line line 144
DateType getTransactionDate()

Get transaction date

Return Value

DateType

in AbstractInvoice at line line 154
setTransactionDate(DateType $transactionDate)

Set transaction date

Parameters

DateType $transactionDate

in AbstractInvoice at line line 164
DateType getGlPostingDate()

Get GL posting date

Return Value

DateType

in AbstractInvoice at line line 174
setGlPostingDate(DateType $glPostingDate)

Set GL posting date

Parameters

DateType $glPostingDate

in AbstractInvoice at line line 184
string getAction()

Get action

Return Value

string

in AbstractInvoice at line line 195
setAction(string $action)

Set action

Parameters

string $action

in AbstractInvoice at line line 205
int|string getSummaryRecordNo()

Get summary record number

Return Value

int|string

in AbstractInvoice at line line 215
setSummaryRecordNo(int|string $summaryRecordNo)

Set summary record number

Parameters

int|string $summaryRecordNo

in AbstractInvoice at line line 225
string getInvoiceNumber()

Get invoice number

Return Value

string

in AbstractInvoice at line line 235
setInvoiceNumber(string $invoiceNumber)

Set invoice number

Parameters

string $invoiceNumber

in AbstractInvoice at line line 245
string getDescription()

Get description

Return Value

string

in AbstractInvoice at line line 255
setDescription(string $description)

Set description

Parameters

string $description

in AbstractInvoice at line line 265
string getExternalId()

Get external ID

Return Value

string

in AbstractInvoice at line line 275
setExternalId(string $externalId)

Set external ID

Parameters

string $externalId

in AbstractInvoice at line line 285
string getBaseCurrency()

Get base currency

Return Value

string

in AbstractInvoice at line line 295
setBaseCurrency(string $baseCurrency)

Set base currency

Parameters

string $baseCurrency

in AbstractInvoice at line line 305
string getTransactionCurrency()

Get transaction currency

Return Value

string

in AbstractInvoice at line line 315
setTransactionCurrency(string $transactionCurrency)

Set transaction currency

Parameters

string $transactionCurrency

in AbstractInvoice at line line 325
DateType getExchangeRateDate()

Get exchange rate date

Return Value

DateType

in AbstractInvoice at line line 335
setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

Parameters

DateType $exchangeRateDate

in AbstractInvoice at line line 345
float getExchangeRateValue()

Get exchange rate value

Return Value

float

in AbstractInvoice at line line 355
setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

Parameters

float $exchangeRateValue

in AbstractInvoice at line line 365
string getExchangeRateType()

Get exchange rate type

Return Value

string

in AbstractInvoice at line line 375
setExchangeRateType(string $exchangeRateType)

Set exchange rate type

Parameters

string $exchangeRateType

in AbstractInvoice at line line 385
boolean isDoNotPostToGL()

Get do not post to general ledger

Return Value

boolean

in AbstractInvoice at line line 395
setDoNotPostToGL(boolean $doNotPostToGL)

Set do not post to general ledger

Parameters

boolean $doNotPostToGL

in AbstractInvoice at line line 405
DateType getDueDate()

Get due date

Return Value

DateType

in AbstractInvoice at line line 415
setDueDate(DateType $dueDate)

Set due date

Parameters

DateType $dueDate

in AbstractInvoice at line line 425
string getPaymentTerm()

Get payment term

Return Value

string

in AbstractInvoice at line line 435
setPaymentTerm(string $paymentTerm)

Set payment term

Parameters

string $paymentTerm

in AbstractInvoice at line line 445
string getReferenceNumber()

Get reference number

Return Value

string

in AbstractInvoice at line line 455
setReferenceNumber(string $referenceNumber)

Set reference number

Parameters

string $referenceNumber

in AbstractInvoice at line line 465
boolean isOnHold()

Get on hold

Return Value

boolean

in AbstractInvoice at line line 475
setOnHold(boolean $onHold)

Set on hold

Parameters

boolean $onHold

in AbstractInvoice at line line 485
string getBillToContactName()

Get bill to contact name

Return Value

string

in AbstractInvoice at line line 495
setBillToContactName(string $billToContactName)

Set bill to contact name

Parameters

string $billToContactName

in AbstractInvoice at line line 505
string getShipToContactName()

Get ship to contact name

Return Value

string

in AbstractInvoice at line line 515
setShipToContactName(string $shipToContactName)

Set ship to contact name

Parameters

string $shipToContactName

in AbstractInvoice at line line 525
string getAttachmentsId()

Get attachments ID

Return Value

string

in AbstractInvoice at line line 535
setAttachmentsId(string $attachmentsId)

Set attachments ID

Parameters

string $attachmentsId

in AbstractInvoice at line line 545
AbstractInvoiceLine[] getLines()

Get invoice lines

Return Value

AbstractInvoiceLine[]

in AbstractInvoice at line line 555
setLines(AbstractInvoiceLine[] $lines)

Set invoice lines

Parameters

AbstractInvoiceLine[] $lines

at line line 38
DateType getReverseDate()

Get reverse date

Return Value

DateType

at line line 48
setReverseDate(DateType $reverseDate)

Set reverse date

Parameters

DateType $reverseDate

at line line 58
string getMemo()

Get memo

Return Value

string

at line line 68
setMemo(string $memo)

Set memo

Parameters

string $memo