Parser is a custom code that reads your file and adopts it to the format Xero is expecting. We can implement all kinds of custom rules in parser code… like deducting commission fees from amounts, splitting amounts into multiple invoice line items, adding commission fees to the invoices… etc.