Saltar al contenido principal

StartC60ExportInput

Input for startC60Export. Selects EITHER a quincena (the first or second half of one month) OR a custom date range: never both, never neither. Days are calendar days in Europe/Madrid.

input StartC60ExportInput {
posId: ID!
year: Int
month: Int
half: Int
startDate: String
endDate: String
sftpConfigId: ID
}

Fields​

StartC60ExportInput.posId ● ID! non-null scalar​

ID of a point of sale of type C60 of the account, from pointsOfSale. The export covers its payments. Each file groups payments by the Cuaderno 60 emisora saved on each payment.

StartC60ExportInput.year ● Int scalar​

Four-digit year of the quincena (for example, 2026). Send it with month and half, or send startDate and endDate instead.

StartC60ExportInput.month ● Int scalar​

Calendar month of the quincena, 1 to 12. Send it with year and half.

StartC60ExportInput.half ● Int scalar​

Half of the month: 1 is days 1 to 15, 2 is day 16 to the end of the month. Send it with year and month.

StartC60ExportInput.startDate ● String scalar​

First day of a custom range, YYYY-MM-DD, inclusive. Send it with endDate instead of year, month and half.

StartC60ExportInput.endDate ● String scalar​

Last day of a custom range, YYYY-MM-DD, inclusive, at most 92 days after startDate counted inclusively. Send it with startDate.

StartC60ExportInput.sftpConfigId ● ID scalar​

ID of an SFTP config of the account, from exportSftpConfigs, that also receives the files. Quincena form only: sending it with a custom range is an error. When the upload fails, the export fails.

Member Of​

startC60Export mutation