API Authorisation

Aedon has 4 Prebuilt RESTful endpoints that can be accessed to create transactions within Aedon.Accounting and can be accessed by any applications both on and off Salesforce platform. These are:

  • Sales Invoice
  • Purchase Invoice
  • Sales Payment
  • Purchase Payment

Aedon endpoints use the standard Oauth 2.0 authorization mechanism to authorise the data transfer.
Client ID and Client Secret should be obtained by the connected app called ‘Rest Service App’ in the destination org.
Access token should be obtained to authorise the endpoint.
Refresh tokens to be obtained if the time frame between 2 transactions is longer than 15 mins.

Common Input Parameters for Invoice APIs:

  1. Company – The company which you have logged in and want to hit the API endpoints for
  2. Account – Customer or supplier Account, to which you are creating an Invoice
  3. TxStatus – Invoice status after hitting the API endpoints. It will be either “Draft” or “Post”
  4. InvoiceDate – The date for which you want to create Invoice
  5. DueDate – The date by which the Invoice needs to be paid
  6. PlannedPaymentDate – The date by which the Invoice needs to be paid, usually this date is greater than Due Date
  7. CustomerReference – The reference which needs to be added to the Invoice
  8. LineItems – The products list which you are selling or buying
  9. ProductName – The products which you are selling or buying
  10. ExternalProductDescription – The name of the products which you are selling or buying
  11. Quantity – The quantity of the product which you are selling or buying
  12. UnitPrice – The price of the product which you are selling or buying
  13. Discount – The discount which you want to give for the chosen product
  14. NominalCodeName – The nominal code which needs to record the Invoice after posting
  15. TaxRate – The relevant tax rate applicable for the product
  16. AnalysisCodeValue1 – The relevant Analysis codes applicable for the product
Go to Top