To generate an invoice/credit note, you will need to provide us with information about the issuer, supplier, and customer in the transaction, as well as core transactional data such as line item details, tax rates/amounts, or applicable discounts.
Here is a list of mandatory fields for generating an invoice through this endpoint.
Use polling approach to get results
Since webhooks are currently under development, the Fonoa API is asynchronous.
Issue an invoice or a credit note, both directly to your customers, and on behalf of 3rd parties to their customers.
For example, to create an invoice, you should send a request using the POST Request an Invoice endpoint and fetch the response from the GET Get an invoice endpoint. Similarly, to create a credit note, you should send a request using the POST request a Credit Note endpoint and fetch the response from the GET Get an invoice endpoint.