Ph: +1 (619) 377-0977 (9 A.M to 5 P.M EST)

SaasAnt Support Portal

Submit a ticket My Tickets Blog
Welcome
Login  Sign up

How to Use SaasAnt Transaction command line Options to Import in to Quickbooks Desktop

SaasAnt Transactions Console allows you to automate and streamline the data import process using command-line actions. This guide will walk you through the commands and the procedure required to perform an import using the console successfully. 


1. Location for the SaasAnt Transactions console app


The console app is located in the same directory as SaasAnt Transactions:


Location Path:
C:\Program Files (x86)\SaasAnt Transactions


2. Command Structure Overview


To import data using the SaasAnt Transactions Console, several commands must be provided. Below is a breakdown of the available commands:


CommandValueDescription
ACTION  import

This command defines the action type, which is always set to "import" for importing data.


ENTITYentity name

Specifies the imported entity, such as "invoice", "Bank Statement", etc.


Possible Values: Invoice, Payments, JE, Expense, Check, 


List: Customer,vendors, Chart of accounts, product/service etc.



MAPPING
mapping name

Refers to the specific mapping to be used, such as "Saasant Default Mapping", "Auto Default Mapping", or any custom-saved mapping name.


DIR
directory path (optional)

Refers to the directory where the file to be imported is stored. This is optional but useful for locating files quickly.


FILE 

file name

Defines the file to be imported. If the -DIR command has been used, only the file name is required; otherwise, the full file path must be provided.



SHEET 
sheet index or sheet name (optional)

The sheet name or index (starting from 0) within the file to be imported. This is optional if the file contains only one sheet, but if there are multiple sheets, it is required.


RESULT
file path

Defines the file path where the result of the import will be saved, including any success or error messages.


SETTINGS
txt file path (optional)
Refers to a text file with custom settings for the import. If this is not provided, the default user settings will be applied.



3. Sample Command Example


Below is an example command that imports an "account" entity from a file and saves the results to a designated file:


SaasAntTransactionsConsole.exe -ACTION import -ENTITY account -MAPPING Saasant Default Mapping -FILE   C:\Users\Johny\Downloads\Console\account_11.xlsx -RESULT 
 C:\Users\Johny\Downloads\Console\account_11_Result.xlsx



4. How to use SaasAnt Transactions Console Application?


  • Open the SaasAnt Transactions Console Folder in Command Prompt and type the required command, as shown in the example above.
  • Press Enter to execute the command.


cd C:\Program Files (x86)\SaasAnt Transactions
SaasAntTransactionsConsole.exe -ACTION import -ENTITY account -MAPPING Saasant Default Mapping -FILE   C:\Users\Johny\Downloads\Console\account_11.xlsx -RESULT



2) The result will be shown once the import is completed.




5. The result will be found in the result file: “C:\Users\Johny\Downloads\Console\account_11_Result.xlsx”


Use Cases for SaasAnt Transactions Console


The SaasAnt Transactions Console is a powerful tool that allows you to automate and customize data imports for various financial and business workflows. Below are some common use cases where the console can streamline operations:


Scenario:
A business needs to automate the import of customer invoices from various systems into QuickBooks at the end of each month to maintain accurate records.

Solution:
By configuring the SaasAnt Transactions Console, the business can use a command line to schedule monthly imports of invoices and map the fields automatically. This eliminates the need for manual data entry and reduces errors.


cd C:\Program Files (x86)\SaasAnt Transactions
SaasAntTransactionsConsole.exe -ACTION import -ENTITY invoice -MAPPING Saasant Default Mapping -FILE   C:\Users\Johny\Downloads\Console\invoice_11.xlsx -RESULT


This guide outlines the essential commands and steps to perform a successful import using SaasAnt Transactions Console. Be sure to adjust file paths, mappings, and entities according to your specific use case.


For any further inquiries, please reach out to support@saasant.com



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.