Saltar al contenido principal

startInvoicesExport

Starts an asynchronous export of the PDFs of the account invoices with a number issued in a range of dates, as one ZIP. Shown as Download all in the billing history. Returns a ChargesExport whose status is PENDING: poll chargesExport(id) until COMPLETED, then call downloadFilesExport(id). A second call with the same filter while the job runs returns the same job. Fails with RANGE_TOO_LONG for a missing range or one longer than a year, and with EXPORT_RUNNING while another such export of the caller runs. Requires read access to invoices. Arguments: - filter: Issue dates of the invoices.

startInvoicesExport(
filter: InvoicesExportFilterInput!
): ChargesExport!

Arguments​

startInvoicesExport.filter ● InvoicesExportFilterInput! non-null input​

Type​

ChargesExport object​

Asynchronous export job, made by startExportCharges, startC60Export, startOperationsFilesExport, startInvoicesExport or a scheduled SFTP export. When status is COMPLETED, get the file with downloadFilesExport for a job with a kind, else with downloadExport.