ExportSecondaryMarketOrdersDirectDebitSepaFile
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
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
secondaryMarketId | ID! | ✓ | — | — |
orderIds | [ID!] | — | — | |
filters | SecondaryMarketOrderFiltersInput | — | — | |
search | String | — | — | |
dryRun | Boolean! | ✓ | false | If 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 {}
}
}