OVPAY-12 74Added FIKO example XML.
This commit is contained in:
parent
fef35cc8f6
commit
038427ffc1
65
src/u4f/examples/codaSoapRequestPostToBook.xml
Normal file
65
src/u4f/examples/codaSoapRequestPostToBook.xml
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
<soapenv:Envelope
|
||||||
|
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
||||||
|
xmlns:web="http://www.coda.com/efinance/schemas/inputext/input-14.0/webservice"
|
||||||
|
xmlns:tran="http://www.coda.com/efinance/schemas/transaction"
|
||||||
|
xmlns:flex="http://www.coda.com/common/schemas/flexifield"
|
||||||
|
xmlns:att="http://www.coda.com/common/schemas/attachment"
|
||||||
|
xmlns:inp="http://www.coda.com/efinance/schemas/inputext"
|
||||||
|
xmlns:mat="http://www.coda.com/efinance/schemas/matching"
|
||||||
|
xmlns:ass="http://www.coda.com/efinance/schemas/association">
|
||||||
|
<soapenv:Body>
|
||||||
|
<web:PostToBooksRequest>
|
||||||
|
<web:Transaction>
|
||||||
|
<tran:Header
|
||||||
|
xmlns:tran="http://www.coda.com/efinance/schemas/transaction">
|
||||||
|
<tran:Key>
|
||||||
|
<tran:CmpCode>1HTM</tran:CmpCode>
|
||||||
|
<tran:Code>OPBR-FIKO</tran:Code>
|
||||||
|
</tran:Key>
|
||||||
|
<tran:TimeStamp>0</tran:TimeStamp>
|
||||||
|
<tran:InputDate>2024-11-25T00:00:00.000Z</tran:InputDate>
|
||||||
|
<tran:Period>2024/7</tran:Period>
|
||||||
|
<tran:CurCode>EUR</tran:CurCode>
|
||||||
|
<tran:Date>2024-07-25T00:00:00.000Z</tran:Date>
|
||||||
|
<tran:OriginalCompany>1HTM</tran:OriginalCompany>
|
||||||
|
<tran:OriginalCode>OPBR-FIKO</tran:OriginalCode>
|
||||||
|
<tran:CompletionWorkflow>
|
||||||
|
<tran:CompletionStatus>wfl_no_completion</tran:CompletionStatus>
|
||||||
|
</tran:CompletionWorkflow>
|
||||||
|
<tran:SalesInvoiceStatus>salesinv_notyetinv</tran:SalesInvoiceStatus>
|
||||||
|
</tran:Header>
|
||||||
|
<tran:Lines
|
||||||
|
xmlns:tran="http://www.coda.com/efinance/schemas/transaction">
|
||||||
|
<tran:Line>
|
||||||
|
<tran:Number>1</tran:Number>
|
||||||
|
<tran:AccountCode>100.12400.D150000001</tran:AccountCode>
|
||||||
|
<tran:DocValue>100.00</tran:DocValue>
|
||||||
|
<tran:LineType>summary</tran:LineType>
|
||||||
|
<tran:LineSense>debit</tran:LineSense>
|
||||||
|
<tran:LineOrigin>dl_orig_defined</tran:LineOrigin>
|
||||||
|
<tran:Description>test</tran:Description>
|
||||||
|
<tran:ExtRef1>987654</tran:ExtRef1>
|
||||||
|
<tran:ExtRef2>test987654</tran:ExtRef2>
|
||||||
|
<tran:SEPAPaymentCategoryPurposeCode>none</tran:SEPAPaymentCategoryPurposeCode>
|
||||||
|
<tran:SEPAPaymentPurposeCode>none</tran:SEPAPaymentPurposeCode>
|
||||||
|
</tran:Line>
|
||||||
|
<tran:Line>
|
||||||
|
<tran:Number>2</tran:Number>
|
||||||
|
<tran:AccountCode>642.41236.609311</tran:AccountCode>
|
||||||
|
<tran:DocValue>100.00</tran:DocValue>
|
||||||
|
<tran:UserStatus/>
|
||||||
|
<tran:LineType>analysis</tran:LineType>
|
||||||
|
<tran:LineSense>credit</tran:LineSense>
|
||||||
|
<tran:LineOrigin>dl_orig_defined</tran:LineOrigin>
|
||||||
|
<tran:SEPAPaymentCategoryPurposeCode>none</tran:SEPAPaymentCategoryPurposeCode>
|
||||||
|
<tran:SEPAPaymentPurposeCode>none</tran:SEPAPaymentPurposeCode>
|
||||||
|
</tran:Line>
|
||||||
|
</tran:Lines>
|
||||||
|
</web:Transaction>
|
||||||
|
<web:PostData>
|
||||||
|
<web:Template>OPBR-FIKO</web:Template>
|
||||||
|
<web:DocumentWideData/>
|
||||||
|
</web:PostData>
|
||||||
|
</web:PostToBooksRequest>
|
||||||
|
</soapenv:Body>
|
||||||
|
</soapenv:Envelope>
|
||||||
77
src/u4f/examples/exampleBooking.xml
Normal file
77
src/u4f/examples/exampleBooking.xml
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.coda.com/efinance/schemas/inputext/input-14.0/webservice" xmlns:tran="http://www.coda.com/efinance/schemas/transaction" xmlns:flex="http://www.coda.com/common/schemas/flexifield" xmlns:att="http://www.coda.com/common/schemas/attachment" xmlns:inp="http://www.coda.com/efinance/schemas/inputext" xmlns:mat="http://www.coda.com/efinance/schemas/matching" xmlns:ass="http://www.coda.com/efinance/schemas/association">
|
||||||
|
<soapenv:Header>
|
||||||
|
<web:Options/>
|
||||||
|
</soapenv:Header>
|
||||||
|
<soapenv:Body>
|
||||||
|
<web:PostRequest>
|
||||||
|
<web:PostOptions postto="intray" reportallerrors="1"/> <!-- postto staat nu naar het register (intray). Dit zou ik een live situatie moeten/kunnen worden aangepast naar de boeken (books) -->
|
||||||
|
<web:Transaction>
|
||||||
|
<tran:Header>
|
||||||
|
<tran:Key>
|
||||||
|
<tran:CmpCode>1HTM</tran:CmpCode> <!-- Unit4 Financials bedrijf -->
|
||||||
|
<tran:Code>VERK_FACTUUR</tran:Code> <!-- Documentcode -->
|
||||||
|
</tran:Key>
|
||||||
|
<tran:TimeStamp>0</tran:TimeStamp> <!-- Timestamp bij nieuwe transacties altijd 0 -->
|
||||||
|
<tran:Period>2024/5</tran:Period> <!-- Jaar en periode van boeken -->
|
||||||
|
<tran:CurCode>EUR</tran:CurCode> <!-- Valutacode -->
|
||||||
|
<tran:Date>2024-06-05T00:00:00.000Z</tran:Date> <!-- Documentdatum> -->
|
||||||
|
<tran:Description>DW12345</tran:Description> <!-- Omschrijving document -->
|
||||||
|
</tran:Header>
|
||||||
|
<tran:Lines>
|
||||||
|
<tran:Line>
|
||||||
|
<tran:Number>1</tran:Number> <!-- Regelnummer - 1 Debiteurenregel -->
|
||||||
|
<tran:AccountCode>1200.D001</tran:AccountCode> <!-- Boeken op elementcode, in dit geval alleen elementen op niveau 1 en 2 (gescheiden door een punt) -->
|
||||||
|
<tran:DocValue>121.00</tran:DocValue> <!-- Totaalbedrag debiteurenregel -->
|
||||||
|
<tran:LineType>summary</tran:LineType> <!-- Type regel, in het geval van een debiteurenregel is dit summary -->
|
||||||
|
<tran:LineSense>credit</tran:LineSense> <!-- Debet of Credit -->
|
||||||
|
<tran:LineOrigin>dl_orig_defined</tran:LineOrigin> <!-- Aangezien hier gebruik wordt gemaakt van het invoersjabloon FACTUUR_VER (zie regel 72) is dit een vooraf gedefinieerde regel ( dl_orig_defined) -->
|
||||||
|
<tran:Description>Nov 2020 Huur</tran:Description> <!-- Regelomschrijving -->
|
||||||
|
<tran:ExtRef1>DW12345</tran:ExtRef1> <!-- Externe referentie 1 -->
|
||||||
|
<tran:ExtRef2/> <!-- Externe referentie 2, nu niet gevuld -->
|
||||||
|
<tran:ExtRef3/> <!-- Externe referentie 3, nu niet gevuld, hieronder kunnen ook nog andere referenties worden opgenomen -->
|
||||||
|
<tran:DocSumTax>21.00</tran:DocSumTax> <!-- BTW-bedrag behorende bij debiteurenregel -->
|
||||||
|
<tran:TaxInclusive>false</tran:TaxInclusive> <!-- Inclusief of exclusief BTW -->
|
||||||
|
</tran:Line>
|
||||||
|
<tran:Line>
|
||||||
|
<tran:Number>2</tran:Number> <!-- Regelnummer - 1 Omzetregel -->
|
||||||
|
<tran:AccountCode>4300</tran:AccountCode> <!-- Boeken op elementcode, in dit geval alleen element op niveau 1 -->
|
||||||
|
<tran:DocValue>100.00</tran:DocValue> <!-- Totaalbedrag omzetregel -->
|
||||||
|
<tran:LineType>analysis</tran:LineType> <!-- Type regel, in het geval van een omzetregel is dit analyses (analyse) -->
|
||||||
|
<tran:LineSense>debit</tran:LineSense> <!-- Debet of Credit -->
|
||||||
|
<tran:LineOrigin>dl_orig_defined</tran:LineOrigin> <!-- Aangezien hier gebruik wordt gemaakt van het invoersjabloon FACTUUR_VER (zie regel 72) is dit een vooraf gedefinieerde regel ( dl_orig_defined) -->
|
||||||
|
<tran:Description>Voorschot Q1.</tran:Description> <!-- Regelomschrijving -->
|
||||||
|
<tran:ExtRef1>Ref. DW12345</tran:ExtRef1> <!-- Externe referentie 1 -->
|
||||||
|
<tran:ExtRef2/> <!-- Externe referentie 2, nu niet gevuld -->
|
||||||
|
<tran:ExtRef3/> <!-- Externe referentie 3, nu niet gevuld, hieronder kunnen ook nog andere referenties worden opgenomen -->
|
||||||
|
<tran:TaxInclusive>false</tran:TaxInclusive> <!-- Inclusief of exclusief BTW -->
|
||||||
|
<tran:Taxes>
|
||||||
|
<tran:Tax>
|
||||||
|
<tran:Code>21%</tran:Code> <!-- BTW-code -->
|
||||||
|
<tran:ShortName>21% BTW</tran:ShortName> <!-- Verkorte omschrijving BTW -->
|
||||||
|
<tran:Value>21.00</tran:Value> <!-- BTW-bedrag analyse regel -->
|
||||||
|
</tran:Tax>
|
||||||
|
</tran:Taxes>
|
||||||
|
</tran:Line>
|
||||||
|
<tran:Line>
|
||||||
|
<tran:Number>3</tran:Number> <!-- Regelnummer - 3 BTW-regel -->
|
||||||
|
<tran:AccountCode>1400</tran:AccountCode> <!-- Boeken op elementcode, in dit geval alleen element op niveau 1 -->
|
||||||
|
<tran:DocValue>21.00</tran:DocValue> <!-- BTW-bedrag -->
|
||||||
|
<tran:LineType>tax</tran:LineType> <!-- Type regel, in het geval van een BTW-regel is dit tax (BTW) -->
|
||||||
|
<tran:LineSense>debit</tran:LineSense> <!-- Debet of Credit -->
|
||||||
|
<tran:LineOrigin>dl_orig_gentax</tran:LineOrigin> <!-- Aangezien hier gebruik wordt gemaakt van het invoersjabloon FACTUUR_VER (zie regel 72) is dit een vooraf gedefinieerde regel ( dl_orig_gentax) -->
|
||||||
|
<tran:Description>Test DW</tran:Description> <!-- Regelomschrijving -->
|
||||||
|
<tran:ExtRef1/>
|
||||||
|
<tran:ExtRef2/>
|
||||||
|
<tran:ExtRef3/>
|
||||||
|
<tran:TaxLineCode>21%</tran:TaxLineCode> <!-- BTW-code -->
|
||||||
|
<tran:DocTaxTurnover>100.00</tran:DocTaxTurnover> <!-- Bedrag waar BTW over berekend -->
|
||||||
|
</tran:Line>
|
||||||
|
</tran:Lines>
|
||||||
|
</web:Transaction>
|
||||||
|
<web:PostData>
|
||||||
|
<inp:Template>FACTUUR_VER</inp:Template> <!-- Te gebruiken invoersjabloon -->
|
||||||
|
<inp:DocumentWideData/>
|
||||||
|
</web:PostData>
|
||||||
|
</web:PostRequest>
|
||||||
|
</soapenv:Body>
|
||||||
|
</soapenv:Envelope>
|
||||||
Loading…
Reference in New Issue
Block a user