Xero Custom Object Mapping is an important feature of SFX. We say this is where all the magic happens.
You can find the tab < Xero Custom Object Mapping >
Click on [ New ] button to create you first record
The layout is divided into multiple sections, such as Basic Mapping, Invoice, Invoice line item, Purchase Order, Quote, Project, Item, Repeating Invoice and Log.
The below section refers to Basic Mapping
Enter the details of the header object, child object and related lookup fields. In this case our Invoice header object is Opportunity and OpportunityLineItem is our child object.
The opportunity object stores most of the Invoice header details such as Customer, Invoice date, Invoice due date, Xero org if any, Branding them, and Invoice status such as Draft or approved
Please note the * red star marked fields are mandatory
The below screenshot displays the fields for the line items to be mapped from the selected object
The line object will require product description, quantity, unit price, account code an tax rate.
In addition this layout can capture Xero Tracking Category if used.
Upon completing the fields mapping, save the record. This will generate a mapping id, which can be used to create a new Invoice button on the object or can be used in flows to automate invoicing.
An Invoice can be generated from a single custom object or from an object with a child object. Child object is where your line items are stored.
For ex: Opportunity is a parent object while Opportunity products is a child object