Skip to content

Exporting Payments from Sage 50 US

Payments represent money sent to suppliers. This task will export payment information from Sage 50 US in the Sage 50 US Payment XML format. You can choose to export either all, modified or only new records, and can filter the exports if only a subset of your receipts are required.

Settings

Sage Connection

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

Date Modified

Required
The date used when exporting modified records. Records that have been updated since this date will be included in the export. The date will update automatically each time the task is ran.

Export New, Modified or All Records

Required
Setting to determine which records are exported from Sage. This setting defaults to Modified. The following options are available:

  • New - Will only export records created since the last time the task was ran.
  • Modified - Will only export records updated in Sage since the last time the task was ran.
  • All - Will always export all records.

Filters

Optional
Settings to allow only specific records to be exported from Sage. You will need to specify field names as they appear in the Sage 50 US database.

Output File

Required
The name of the file to export to. Data is exported in Sage 50 US Payment XML format. Defaults to sage_50_us_export_payments.xml.

Zynk Settings

See Common Task Settings.

Example

A sample output file is shown below. See Sage 50 US Payment XML for full documentation of the XML format.

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPayment>
  <Payment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <ExternalId>93275</ExternalId>
    <Key>40a32841-7f73-4b18-82cb-989064518665</Key>
    <ReferenceNumber />
    <Date>2016-03-09T00:00:00</Date>
    <Amount>1500.00</Amount>
    <LastSavedAt>0001-01-01T00:00:00</LastSavedAt>
    <IsPosted>true</IsPosted>
    <AccountReference>10200-00</AccountReference>
    <DiscountAmount xsi:nil="true" />
    <VendorReference>HUBBARD</VendorReference>
    <DateSent xsi:nil="true" />
    <DiscountAccountReference />
    <ElectronicIdentifier />
    <FundingAccount />
    <MainAddress>
      <Name>Hubbard Wholesale</Name>
      <Address>
        <Address1>1500 Pavilion Place</Address1>
        <Address2 />
        <City>Norcross</City>
        <State>GA</State>
        <Zip>30093</Zip>
        <Country>USA</Country>
        <SalesTaxCode />
      </Address>
    </MainAddress>
    <Memo>99-KH-01</Memo>
    <PaymentMethod>Check</PaymentMethod>
    <PaymentExpenseLines>
      <PaymentExpenseLine>
        <AccountReference>75500-00</AccountReference>
        <Amount>1500.00</Amount>
        <Description>Supplies Expense</Description>
        <InventoryItemReference />
        <JobReference />
        <Quantity>0.00</Quantity>
        <SalesTaxType xsi:nil="true" />
        <UnitPrice>0.00</UnitPrice>
      </PaymentExpenseLine>
    </PaymentExpenseLines>
    <PaymentInvoiceLines />
  </Payment>
</ArrayOfPayment>