Hi,
I am trying to automate the generation of a SEPA XML file by executing the Export action on the Batch Payments screen in Acumatica (for example, batch 000435).
To achieve this, I have:
-
Created a custom REST API entity named BatchPayment in the endpoint
DefaultExtended, version24.200.001, including the Batch Summary fields. -
Added the Export action to this entity.
-
Configured the action parameters corresponding to the Settings dialog that normally appears when clicking the Export button in the Acumatica interface.
I am calling the following REST API endpoint:
Method: POST
Endpoint:/entity/DefaultExtended/24.200.001/BatchPayment/Export
Request body:
{
"entity": {
"id": "efd710ef-cb9b-f111-a84a-000d3ae74153"
},
"parameters": {
"BatchbookingBtchbookgtag": {
"value": "Unity (False)"
},
"Executiondate": {
"value": "2026-11-13T00:00:00+00:00"
},
"PaymentInformation": {
"value": "One level per Batch"
},
"PriorityInstrPrtytag": {
"value": "None"
}
}
}The API returns HTTP 204 (No Content) without any error message. However, the SEPA XML file is not generated for the batch payment.
When performing the same operation through the Acumatica interface, clicking Export opens a Settings dialog, and the XML file is generated only after clicking OK.
My questions are:
-
Am I missing any configuration or parameter in the REST API request?
-
Is it possible to execute the Export action, including the confirmation of the Settings dialog, directly through the REST API?
-
Is there a native Acumatica API or another recommended method to generate and retrieve the SEPA XML file programmatically?
My objective is to reproduce the complete Export operation through the API without requiring manual interaction with the graphical interface.
Thank you.