Skip to content

Importing Purchase Credit Notes To Sage 200 Online

This task will insert new purchase credit notes into Sage 200 Online, using Sage 200 Online Purchase Credit Note XML format.

Settings

Sage 200 Online Connection

Required
The connection to Sage 200 Online to use. See the Connecting to Sage 200 Online article if you require more information on how to create/manage connections.

Fail File

Required
The XML file to output any records to which fail to upload to Sage.

Input File

Required
The XML file containing the records to upload to Sage. See below for a sample input file.

Success File

Required
The XML file to output any records to which are successfully uploaded to Sage.

Prevent Reprocessing

Required
When set to true this will prevent another record with the same <external_id> as a previously uploaded record from being uploaded to Sage.

Zynk Settings

See Common Task Settings.

Examples

Sample input file:

<?xml version="1.0" encoding="utf-8"?>
<PurchaseCreditNotes>
  <PurchaseCreditNote>
    <external_id>12345</external_id>
    <reference>0000000123</reference>
    <second_reference>0000000123</second_reference>
    <transaction_date>2023-02-28T00:00:00</transaction_date>
    <document_goods_value>10.00</document_goods_value>
    <document_tax_value>2.00</document_tax_value>
    <exchange_rate>1.000000</exchange_rate>
    <settled_immediately>false</settled_immediately>
    <discount_days>0</discount_days>
    <supplier>
      <reference>CON001</reference>
    </supplier>
    <tax_analysis_items>
      <tax_analysis_item>
        <tax_code>
          <code>1</code>
        </tax_code>
        <goods_amount>10</goods_amount>
      </tax_analysis_item>
    </tax_analysis_items>
  </PurchaseCreditNote>
</PurchaseCreditNotes>