Importing Credit Notes to Xero
This task will insert or update credit notes in Xero from a Xero Credit Note XML format file.
Settings
Connection
Required
The Xero connection to use. See Connecting to Xero if you require more information on how to create/manage connections.
Auto Create Contacts
Required
Optionally automatically create contacts in Xero based on the provided data.
Alphabetic Length
Required
The length of the alpha part of the contact number.
Contact Numbers Convention
Required
The format to use when generating a contact number. For example, if you select the 'LastNameFirstName' option and in your data the contact name is 'Joe Bloggs', the contact number will be 'JOEB0001'.
Enabled
Required
Enable this task setting to automatically generate contact numbers in Xero based on the given criteria.
Mask
Optional
The content of this setting will be used to prefix all of your account references.
Numeric Length
Required
The length of the numeric part of the contact number.
To Purge
Optional
You can optionally list a series of characters to remove from the contact number.
Contact Number Field
Required
Optionally select to use either the contact number or account number to match contacts. Please note, if you select the AccountNumber option that the contact number will be updated with the account number.
Auto Create Items
Required
Optionally automatically create items in Xero based on the provided data.
Fail File
Required
The file to save failed record imports to.
Input File
Required
The file containing the bank transactions to upload to Xero.
Success File
Required
The file to save successful record imports to.
Prevent Reprocessing
Required
Set to true to prevent the same record being processed more than once, based on the ExternalId provided in the input XML file.
Zynk Settings
Examples
A sample input file containing is shown below. It shows the minimum amount of information required to create a credit note in Xero. More detailed information about each field can be found in our Xero Credit Note XML.
<?xml version="1.0"?>
<ArrayOfXeroCreditNote>
<XeroCreditNote>
<ExternalId>5230</ExternalId>
<Number>ABC-123</Number>
<Type>AccountsPayable</Type>
<Contact>
<Name>Zynk Software</Name>
</Contact>
<Date>2014-07-07T00:00:00</Date>
<LineAmountTypes>Exclusive</LineAmountTypes>
<CurrencyCode>GBP</CurrencyCode>
<LineItems>
<LineItem>
<Description>MacBook - White</Description>
<Quantity>1.0000</Quantity>
<UnitAmount>25.00</UnitAmount>
<AccountCode>720</AccountCode>
<Tracking />
</LineItem>
</LineItems>
</XeroCreditNote>
</ArrayOfXeroCreditNote>