Transactions and invoice lines can also be imported into Uniconta. For example, if users are importing their accounts into Uniconta and would like to include their inventory transactions, they can do so using our API.
For additional assistance, contact one of our partners.
The method is as follows:
namespace Uniconta.API.DebtorCreditor
{
public class InvoiceAPI : BaseAPI
{
public Task<ErrorCodes> ImportInvoice(DCInvoice Invoice, IEnumerable<InvTrans> Lines)
This API can be used to import the inventory data. Thiss way all transactions and invoices will be imported into Uniconta.
The ’Invoice’ should be a ’DebtorInvoice’ or ‘CreditorInvoice’ (DCInvoice is only a base class)
The invoice lines are imported one at a time so that the historic transactions are recreated and the invoices can then be reprinted.
It is a good idea to choose one transaction to test the import on to ensure that the correct VAT, invoice number and voucher etc. are imported.
Once the import is complete, the user can then click on the imported customer transactions to go directly to the invoice.
The above import method will only enter the transactions into the inventory module and not the general ledger or the customer module.