<% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>

freeside-ipifony-download

NAME

freeside-ipifony-download - Download and import invoice items from IPifony.

SYNOPSIS

      freeside-ipifony-download 
        [ -v ]
        [ -q ]
        [ -N ]
        [ -a archivedir ]
        [ -P port ]
        [ -C category ]
        [ -T taxclass ]
        [ -e pkgpart ]
        freesideuser sftpuser@hostname[:path]

REQUIRED PARAMETERS

freesideuser: the Freeside user to run as.

sftpuser: the SFTP user to connect as. The 'freeside' system user should have an authorization key to connect as that user.

hostname: the SFTP server.

path: the path on the server to the working directory. The working directory is the one containing the "ready/" and "done/" subdirectories.

OPTIONAL PARAMETERS

-v: Be verbose; send debugging information to STDERR in addition to the internal log..

-q: Include the quantity and unit price in the charge description.

-N: Always bill the charges on the customer's next bill date, if they have one. Otherwise, charges will be billed on the next bill date only if it's within the current calendar month.

-a archivedir: Save a copy of the downloaded file to archivedir.

-P port: Connect to that TCP port.

-C category: The name of a package category to use when creating package classes.

-e pkgpart: The pkgpart (FS::part_pkg) to use for E911 charges. A package of this type will be ordered for each invoice that has E911-subject line items. The 'quantity' field on this package will be set to the total quantity of those line items.

The E911 package must be a one-time package (flat rate, no frequency, no recurring fee) with setup fee equal to the fee per line.

<% include ('/elements/footer.html' ) %>