AddJournal - method

Input

Input is .xml file with following marks.

Element

Item description

Obligation

<Accounting>

 

 

+<AccountingHeader>

 

 

++<OrganizationId_DK>

Organization id DK

 

++<OrganizationId_DDV>

Organization id DDV

 

++<Document>

Document

 

++<DocumentReceivedDate>

Document received date

 

++<JournalEntryDate>

Journal entry date

 

++<TransactionDate>

Transaction date

 

++<Customer>

Customer

 

++<JournalEntryDescription>

Journal entry description

 

++<JournalEntriesHeader>

 

 

+++<JournalType>

Journal type

 

+++<TurnoverType>

Turnover type

 

+++<DueDate>

Due date

 

+++<Currency>

Currency

 

+++<LinkToBook>

Link to book

 

+++<LinkToNumber>

Link to number

 

+++<LinkToOrigin>

Link to origin

 

+++<LinkToUser>

Link to user

 

+++<LinkToYear>

Link to year

 

++<VATHeader>

 

 

+++<DeductibleShareCode>

Deductible share code

 

+++<CustomerName>

Customer name

 

+++<CustomerMainAddress>

Customer main address

 

+++<VATIdentificationNumber>

VAT identification number

 

+++<Correction>

Correction

 

+++<InvoiceValue>

Invoice value

 

+++<VATChargedOnChasBasis>

VAT charged on basis

 

+++<Analytics>

 

 

++++<CostCentre>

Cost centre

 

++++<CostUnit>

Cost unit

 

++++<Clerk>

Clerk

 

++++<WorkOrder>

Work order

 

++++<Analytic1>

Analytic1

 

++++<Analytic2>

Analytic2

 

++++<Analytic3>

Analytic3

 

+<VAT>

 

 

++<VATBooks>

 

 

+++<VATBookCode>

VAT book code

 

+++<VATDate>

VAT date

 

+++<VATEntryRows>

 

 

++++<VATEntryRow>

 

 

+++++<VATRate>

VAT rate

 

+++++<VATBase>

VAT base

 

+++++<AdvancePayment>

Advance payment

 

+++++<VAT>

VAT

 

+++++<NonDeductibleVAT>

Non deductible VAT

 

+++++<VATType>

VAT type

 

+++++<DeductibleShareCode>

Deductible share code

 

+++++<VATDate>

VAT date

 

+++++<JournalEntryNumber>

Journal entry number

 

+<JournalEntries>

 

 

++<JournalEntry>

 

 

+++<JournalEntryDate>

Journal entry date

 

+++<JournalEntryDescription>

Journal entry description

 

+++<Account>

Account

 

+++<Customer>

Customer

 

+++<DueDate>

Due date

 

+++<TransactionDate>

Transaction date

 

+++<PaymentReference>

Payment reference

 

+++<Currency>

Currency

 

+++<Debit>

Debit

 

+++<DebitAmountInDomesticCurrency>

Debit amount in domestic currency

+++<Credit>

Credit

 

+++<CreditAmountInDomesticCurrency>

Credit amount in domestic currency

+++<JournalType>

Journal type

 

+++<TurnoverType>

Turnover type

 

+++<Analytics>

 

 

++++<CostCentre>

Cost centre

 

++++<CostUnit>

Cost unit

 

++++<Clerk>

Clerk

 

++++<WorkOrder>

Work order

 

++++<Analytic1>

Analytic1

 

++++<Analytic2>

Analytic2

 

++++<Analytic3>

Analytic3

 

+++<Document>

Document

 

+++<LinkToBook>

Link to book

 

+++<LinkToNumber>

Link to number

 

+++<LinkToOrigin>

Link to origin

 

+++<LinkToUser>

Link to user

 

+++<LinkToYear>

Link to year

 

 

 

 

Output

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

Natisni