Import UBL (Command Line Utility)

Command line for importing e-invoices.

The Command Line Utility attempts to read the XML messages as e-invoices. The e-invoice complies if the amount (LegalMonetaryTotal/PayableAmount) can be read from the XML.

Only files with the extensions .XML and .UBL are imported as e-invoices. The .PDF files are linked as attachments.

This command line saves the data from the e-invoice and the associated XML in the E-invoice view.

Data

 

Action:

UBLIMPORT

General options:

Default.

Example:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE"/O"Environment name " /G"Username" /W"Password" /L"C:\logfile.txt" FINANCIALS /F"Import folder" /P"UBLIMPORT"

Extra options

Option

Explanation

/F<import folder>

The location of the e-invoices to be imported.

Note: /F is mandatory.

/O<environment name>

The name of the environment.

/G<user name>

Name of a user with sufficient rights.

/W<password>

Password.

See also

Directly to

  1. Import and export via command line