Importing Purchase Invoices into Sage 50 UK
This task will post existing purchase orders to the ledger in Sage 50, based on data supplied in Sage 50 UK Purchase Invoice XML format, resulting in a purchase invoice being raised against the supplier's account. The task supports creating both full and partial invoices. The task will not receive stock against the purchase order, so this must be done before attempting to create the purchase invoice.
Settings
Sage 50 Connection
Required
The connection to Sage 50 UK to use. See the Connecting to Sage 50 UK 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
Input File
Required
The source file that you want to import in Zynk XML format
Success File
Required
The name of a file for "successful" imports to be sent to.
Prevent Duplicates
Required
Set this to 'True' to check whether the record Id supplied in the input XML file has already been imported, and if so skip the record.
Zynk Settings
Examples
Sample input file, for full documentation and samples see Sage 50 UK Purchase Invoice XML:
<?xml version="1.0" encoding="utf-8"?>
<Company>
<PurchaseInvoices>
<PurchaseInvoice>
<Id>20303</Id>
<PurchaseOrderNumber>143</PurchaseOrderNumber>
<InvoiceNumber>143</InvoiceNumber>
<InvoiceSecondReference>PO-54262</InvoiceSecondReference>
<InvoiceDate>2022-09-07</InvoiceDate>
<PurchaseInvoiceItems>
<Item>
<Sku>PROD0001</Sku>
<QtyInvoiced>1.00</QtyInvoiced>
</Item>
<Item>
<Sku>PROD0002</Sku>
<QtyInvoiced>1.00</QtyInvoiced>
</Item>
</PurchaseInvoiceItems>
</PurchaseInvoice>
</PurchaseInvoices>
</Company>