Skip to main content

ExportSecondaryMarketOrdersDirectDebitSepaFile

Stable

Generate the direct debit SEPA file (pain.008) of the selected secondary market buy orders. Pass orderIds for an explicit selection, or omit them and pass filters/search to target every matching buy order. With dryRun, only count the exportable and not exportable orders: nothing is generated nor flagged.

Signature​

mutation {
ExportSecondaryMarketOrdersDirectDebitSepaFile(secondaryMarketId: ..., dryRun: ...)
}

Retourne : SepaExportResult!

Arguments​

NomTypeRequisDéfautDescription
secondaryMarketIdID!✓——
orderIds[ID!]——
filtersSecondaryMarketOrderFiltersInput——
searchString——
dryRunBoolean!✓falseIf true, only counts the exportable and not exportable orders: no file is generated and nothing is flagged as exported

Exemple​

mutation {
ExportSecondaryMarketOrdersDirectDebitSepaFile(
secondaryMarketId: $secondaryMarketId
dryRun: $dryRun
) {
exportableCount
notExportableCount
exportId
exportedMoneyMovements {}
}
}