Saltar al contenido principal

ChargesExport

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.

type ChargesExport {
id: ID!
kind: ExportKind
status: ExportStatus!
expireAt: AWSTimestamp
statusCode: String
statusMessage: String
}

Fields​

ChargesExport.id ● ID! non-null scalar​

Export job ID.

ChargesExport.kind ● ExportKind enum​

Kind of an export of existing files. null on a charges or Cuaderno 60 export.

ChargesExport.status ● ExportStatus! non-null enum​

Current job status.

ChargesExport.expireAt ● AWSTimestamp scalar​

Time when MONEI removes the export job, in Unix seconds: one day after it started.

ChargesExport.statusCode ● String scalar​

Failure code when status is FAILED: F001 (no rows match the filter), F002 (a draft Cuaderno 60 file cannot go to SFTP), F003 (none of the requested columns can be exported), F010 (a file of an export of existing files could not be read or made; statusMessage lists up to 10 of them), F011 (the range holds too many payouts), F012 (the job ran out of time), F013 (the job waited too long in the queue) or F999 (internal error). null for a failure without a code.

ChargesExport.statusMessage ● String scalar​

Text that describes the failure when status is FAILED, such as No data found for F001.

Returned By​

chargesExport query ● startC60Export mutation ● startExportCharges mutation ● startInvoicesExport mutation ● startOperationsFilesExport mutation

Member Of​

ChargesExportsConnection object