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:
- Company – The company which you have logged in and want to hit the API endpoints for
- Account – Customer or supplier Account, to which you are creating an Invoice
- TxStatus – Invoice status after hitting the API endpoints. It will be either “Draft” or “Post”
- InvoiceDate – The date for which you want to create Invoice
- DueDate – The date by which the Invoice needs to be paid
- PlannedPaymentDate – The date by which the Invoice needs to be paid, usually this date is greater than Due Date
- CustomerReference – The reference which needs to be added to the Invoice
- LineItems – The products list which you are selling or buying
- ProductName – The products which you are selling or buying
- ExternalProductDescription – The name of the products which you are selling or buying
- Quantity – The quantity of the product which you are selling or buying
- UnitPrice – The price of the product which you are selling or buying
- Discount – The discount which you want to give for the chosen product
- NominalCodeName – The nominal code which needs to record the Invoice after posting
- TaxRate – The relevant tax rate applicable for the product
- AnalysisCodeValue1 – The relevant Analysis codes applicable for the product




















