E-invoicing in Azerbaijan

Hello, I would like to integrate into an e-invoice for invoicing for our government system. And we also have a VAT refund, but this does not happen when the purchase takes place, but when the debt is repaid. How can this be implemented in a manager?