Quantity Per-Item in Amazon invoice

Invoices created in Xero have only the number 1 for quantity for each item. I would love to be able to have the invoice quantity be the number that amazon sold, and then have the unit price averaged, when the invoice is created in Xero.