PUT
/
sepa-xml-files
/
{id}
/
uploaded
curl -X PUT \
 /sepa-xml-files/{id}/uploaded \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "autoCaptureAfterDays": ""
}'
{
  "id": "ad8f7a6d-1b0b-4e1a-8e1a-0b1b0b1b0b1b",
  "uploaded": true,
  "uniqueMessageId": "COKSDE33XXX-2021-01-01-12-00-00-000000000",
  "generatedAt": "2023-11-07T05:31:56Z",
  "sepaXmlPayments": [
    {
      "id": "ad8f1c1e-0b0a-4e1a-8b0a-0b0a4e1a8b0a",
      "type": "debit",
      "createdAt": "<any>",
      "dueDate": "2023-11-07T05:31:56Z",
      "remittanceInformation": "#Fynn - Debit for invoice 123",
      "endToEndId": "Fynn-123",
      "amount": 100,
      "sepaMandate": {
        "id": "ad8f0b9c-0b1a-4e1a-8b0a-0b1a4e1a8b0a",
        "status": "active",
        "creditorIdentifier": "<string>",
        "mandateReference": "MNDT-2021-0001",
        "bankAccount": {
          "id": "ad8f0b9c-4b1e-4e0e-8b9c-4b1e4e0e8b9c",
          "iban": "DE12500105170648489890",
          "bic": "PBNKDEFFXXX",
          "accountHolder": "Max Mustermann",
          "bankName": "Commerzbank"
        },
        "sequenceType": "FRST",
        "sepaType": "core"
      },
      "invoice": {
        "id": "00000000-0000-0000-0000-000000000000",
        "customer": {
          "id": "00000000-0000-0000-0000-000000000000",
          "customerNumber": "CUSTOMER-000",
          "timeZone": "Europe/Berlin",
          "firstName": "John",
          "lastName": "Doe",
          "currencyCode": "EUR",
          "companyName": "Acme Inc.",
          "datevId": "123456789",
          "status": "STATUS_ACTIVE"
        },
        "paymentMethod": {
          "id": "<string>",
          "gatewayName": "wallet",
          "type": "sepa_debit",
          "default": true,
          "status": "active",
          "enabled": true,
          "name": "<string>",
          "creationDate": "2023-11-07T05:31:56Z",
          "expirationDate": "2023-11-07T05:31:56Z"
        },
        "type": "TYPE_INVOICE",
        "currencyCode": "EUR",
        "number": "RE-0000000001",
        "status": "STATUS_DRAFT",
        "finalizationDate": "2023-11-07T05:31:56Z",
        "dueDate": "2023-11-07T05:31:56Z",
        "dunningLevel": 123,
        "dunningStatus": "none",
        "payDate": "2023-11-07T05:31:56Z",
        "invoiceAddress": "<any>",
        "internalNote": "This invoice is with a special discount.",
        "netAmount": {},
        "grossAmount": {},
        "taxAmount": {},
        "customFields": {
          "field1": "value1",
          "field2": "value2"
        },
        "unpaidAmount": {}
      },
      "transaction": "<any>",
      "autoCaptureAt": "2023-11-07T05:31:56Z"
    }
  ],
  "mediaId": "ad8f7a6d-1b0b-4e1a-8e1a-0b1b0b1b0b1b"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

SepaXmlStatement identifier

Body

The updated SepaXmlStatement resource

Response

200
application/json

SepaXmlStatement resource updated