Amazon Interview Question

Invoicing process, Discount working process