Skip to content

Importing Payments into Sage 50 US

Payments represent money sent to suppliers. This task will import payment information in the Sage 50 US Payment XML format into Sage 50 US.

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.

Fail File

Required
The name of a file for "failed" imports to be sent to. Defaults to sage_50_us_import_payments_fail.xml.

Input File

Required
The source file that you want to import in XML format. Defaults to (Output from previous task).

Success File

Required
The name of a file for "successful" imports to be sent to. Defaults to sage_50_us_import_payments_success.xml.

Prevent Duplicates

Required
Set this to 'True' to check whether the supplied payment Id has already been imported, and if so skip the payment. Defaults to True.

Zynk Settings

See Common Task Settings.

Example

A sample input 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>
    <ReferenceNumber>P2141</ReferenceNumber>
    <Date>2016-03-09T00:00:00</Date>
    <AccountReference>10200-00</AccountReference>
    <VendorReference>HUBBARD</VendorReference>
    <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>
        <Description>Supplies Expense</Description>
        <InventoryItemReference>TR4300</InventoryItemReference>
        <JobReference>J10001</JobReference>
        <Quantity>1.00</Quantity>
        <UnitPrice>10.00</UnitPrice>
      </PaymentExpenseLine>
    </PaymentExpenseLines>
    <PaymentInvoiceLines>
      <PaymentInvoiceLine>
        <AccountReference>75500-00</AccountReference>
        <AmountPaid>10.00</AmountPaid>
        <Description>Supplies Expense</Description>
        <DiscountAmount>0.00</DiscountAmount>
        <InvoiceReference>129066</InvoiceReference>
        <JobReference>J10001</JobReference>
      </PaymentInvoiceLine>
    </PaymentInvoiceLines>
  </Payment>
</ArrayOfPayment>