Your explanation is too vague to understand exactly what you did. Be sure you have read the Guides:
https://forum.manager.io/t/creating-purchase-invoices/7189
https://forum.manager.io/t/supplier-deposits-and-advances/7095
If you still have question, be more specific, and post screen shots of the transactions.