AddCashOperation - method

Input

Input is .xml file with following marks.

Element

Item description

Obligation

<CashOperation>

 

 

+<CashOperationHeader>

 

 

++<CashRegisterID>

Cash register ID

Yes

++<CashOperationDate>

Cash operation date

Yes

++<CashOperationType>

Cash operation type

Yes

++<CashierID>

Cashier ID

Yes

++<CashierName>

Cashier name

Yes

++<CustomerID>

Customer ID

Yes

++<CostCenterID>

Cost center ID

No

++<CostDriverID>

Cost driver ID

No

++<ClerkID>

Clerk ID

No

++<Analytic_AN1_ID>

Analytic AN1 ID

No

++<Analytic_AN2_ID>

Analytic AN2 ID

No

++<Analytic_AN3_ID>

Analytic AN3 ID

No

++<WorkOrder>

Work order

No

++<BookKeepingNote>

Book keeping note

No

++<CashOperationAttachment1>

Cash operation attachment1

No

++<CashOperationAttachment2>

Cash operation attachment2

No

++<CashOperationJournal>

Cash operation journal

No

+<CashOperationList>

 

 

++<Line>

 

 

+++<CashOperationClass>

Cash operation class

Yes

+++<Currency>

Currency

No

+++<HomeCurrencyValue>

Home currency value

Yes (if Home); No (if Foreign)

+++<ForeignCurrencyValue>

Foreign currency value

Yes (if Foreign); No (if Home)

+++<ForeignCurrencyDate>

Foregin currency date

No

+++<AccountID>

Account ID

No​

+<CashOperationNotes>

 

 

++<NoteText>

Note text

No

+<CashOperationFooter>

 

 

++<Line>    

+++<PaymentMethod>

Payment method

Yes

+++<PaymentTotal>

Payment total home currency

Yes (if Home); No (if Foreign)

+++<PaymentTotalForeign> Payment total foreign currency No (if Home); Yes (if Foreign)

 

 

 

Output

The output is a .xml file in which it is stated, if the method is successful or not.

Natisni