Description
The AccountsService enables to transfer credit or debit amounts from a specified opening balance account to one or more G/L accounts. This service creates a journal entry lines.
Mandatory properties:
- OpenBalanceAccount (OpenningBalanceAccount object)
- Code (GLAccount object).
Remarks
To use the service:
- Connect to a valid company.
- Call the CompanyService, which is the main DI service that you must call before using any other service.
- Call the method GetBusinessService for the required service.
- Create an empty data structure related to the required service.
- or-
You can create a data structure from an XML file or XML string. - Set the required properties of the specified data structure.
- Call the required service method.