Skip to content

Instantly share code, notes, and snippets.

@remcotolsma
Last active February 27, 2017 11:26
Show Gist options
  • Select an option

  • Save remcotolsma/a1a4f28c7bcc9e41058c533a5efda7bd to your computer and use it in GitHub Desktop.

Select an option

Save remcotolsma/a1a4f28c7bcc9e41058c533a5efda7bd to your computer and use it in GitHub Desktop.
Twinfield update transaction.
<?xml version="1.0"?>
<transaction destiny="temporary">
<header>
<office>11024</office>
<code>INK</code>
<number>201400001</number>
<period>2014/12</period>
<date>20141231</date>
<invoicenumber>20170001</invoicenumber>
</header>
<lines>
<line id="1" type="total">
<dim1>1600</dim1>
<dim2>2000</dim2>
<description>Wat is dit?</description>
<value>50.00</value>
</line>
<line id="2" type="detail">
<dim1>2999</dim1>
<description>Wat is dit?</description>
<value>50.00</value>
</line>
</lines>
</transaction>
<?xml version="1.0"?>
<transaction destiny="temporary" result="0">
<header msgtype="error" msg="Original is read-only and must be manual." result="0">
<office name="PRONAMIC" shortname="NL Sjabloon">11024</office>
<code name="Inkoopfactuur" shortname="Inkoop">INK</code>
<number>201400001</number>
<period>2014/12</period>
<date>20141231</date>
<invoicenumber>20170001</invoicenumber>
<origin>import</origin>
<user name="Remco" shortname="Remco">PRONAMIC</user>
<currency name="Euro" shortname="Euro">EUR</currency>
<regime>generic</regime>
<duedate>20150130</duedate>
</header>
<lines>
<line id="1" type="total">
<dim1 name="Crediteuren" shortname="Crediteuren" type="BAS" inuse="true" vatcode="" vatobligatory="false">1600</dim1>
<dim2 name="Crediteur 1" shortname="" type="CRD" inuse="true" vatcode="" vatobligatory="false">2000</dim2>
<description>Wat is dit?</description>
<value>50.00</value>
<debitcredit>credit</debitcredit>
<rate>1</rate>
<basevalue>50.00</basevalue>
<vattotal>0.00</vattotal>
<vatbasetotal>0.00</vatbasetotal>
<matchlevel>2</matchlevel>
<customersupplier>2</customersupplier>
<openvalue>50.00</openvalue>
<openbasevalue>50.00</openbasevalue>
<matchstatus>available</matchstatus>
</line>
<line id="2" type="detail">
<dim1 name="Uit te zoeken posten" shortname="Uit te zoeken posten" type="BAS" inuse="true" vatcode="" vatobligatory="false">2999</dim1>
<description>Wat is dit?</description>
<value>50.00</value>
<debitcredit>debit</debitcredit>
<rate>1</rate>
<basevalue>50.00</basevalue>
<currencydate/>
<matchstatus>notmatchable</matchstatus>
</line>
</lines>
</transaction>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment