Printing Invoices in Sage 200
This task will print invoices for existing sales orders in Sage 200. In order to be able to print an invoice for an order, the order must already be despatched.
Settings
Connection Settings
Sage 200 Connection
Required
The Sage 200 connection to use. See the Connecting to Sage 200 article if you require more information on how to create/manage connections
File Settings
Fail File
Required
If the sales order can't be printed, it will be output to the file specified here in the Sage 200 Sales Order XML format.
Invoice Date
Optional
The invoice date to use on the resultant sales invoice that is generated. Will be defaulted to today's date if a valid date cannot be parsed.
Success File
Required
If the sales order is successfully printed, it will be output to the file specified here in the Sage 200 Sales Order XML format.
Print Settings
Consolidate Invoices
Required
Set to 'True' to automatically consolidate invoices for customers who have the 'Consolidate Billing' option enabled in Sage. The orders specified in the input file will be grouped together based on the customer, sales order type, delivery address and invoice date and a single invoice will be created in Sage covering all orders within the group.
Consolidate Invoices With Different Addresses
Required
Set to 'True' to consolidate invoices even if they have different delivery addresses. This setting only takes effect when 'Consolidate Invoices' is 'True'."
Zynk Settings
Examples
A sample input file is shown below. See Sage 200 Print Invoices XML for more details on the XML format for Sage 200.
<?xml version="1.0" encoding="utf-8"?>
<Company
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SalesOrders>
<SalesOrder>
<UniqueId>12345</UniqueId>
<Id>12345</Id>
<SalesOrderNumber>0000012345</SalesOrderNumber>
<CustomerOrderNumber>12345</CustomerOrderNumber>
<SalesOrderType>SopInvoice</SalesOrderType>
<InvoiceDate>2024-01-04</InvoiceDate>
</SalesOrder>
</SalesOrders>
</Company>