Forecasted Transactions

Create forecasted transaction

Changed on

Create a forecasted transaction.

post/analytics/v2beta/forecasted-transactions

Request

Request body

datestring date required

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21.

descriptionstring required
metadataMetadata nullable

Metadata is a string-string key-value container that can be used to store information known at the time of resource creation. This can be retrieved later on, for instance when a payment or expected transaction is reconciled with the booked transaction on the bank statement.

Metadata can have at most 20 entries. Keys may have a maximum length of 64 chars and values a maximum length of 512 chars.

By default, this field is optional. It is possible to make it required in the Atlar Dashboard by visiting the Metadata keys page. Requirement rules can be specified per API resource. Both the Dashboard and the API will then enforce these rules and give validation errors when the required fields are not set.

externalIdstring

External ID is optional to use, but if used, the Atlar platform will persist it, index it, as well as require it to be unique across all resources. It is possible to retrieve a resource using the external ID using the prefix external:.

Example request

{
  "parent": {
    "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
  },
  "amount": {
    "currency": "EUR",
    "value": 1502
  },
  "date": "2022-05-07",
  "origin": {
    "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
  },
  "counterparty": {
    "partyType": "INDIVIDUAL",
    "name": "Customer #312",
    "nationalIdentifier": {
      "type": "CIVIC",
      "market": "DE",
      "number": "2012121212"
    },
    "address": {
      "country": "DE",
      "countrySubdivision": "US-CA",
      "city": "Stockholm",
      "postalCode": "11111",
      "streetName": "Example street",
      "streetNumber": "47"
    },
    "account": {
      "market": "DE",
      "identifiers": [
        {
          "type": "IBAN",
          "market": "DE",
          "number": "DE75512108001245126199"
        }
      ],
      "routing": [
        {
          "type": "BIC",
          "number": "BUKBGB22"
        }
      ]
    }
  },
  "metadata": {
    "my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
  },
  "externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl"
}

Response

The created forecasted transaction.

idstring required

Unique resource identifier.

organizationIdstring required

Unique resource identifier for an Organization.

scenarioIdstring required

Unique resource identifier.

externalIdstring

External ID is optional to use, but if used, the Atlar platform will persist it, index it, as well as require it to be unique across all resources. It is possible to retrieve a resource using the external ID using the prefix external:.

accountIdstring

The account this forecasted transaction belongs to. Present when parent.type is ACCOUNT; omitted when parent.type is ENTITY.

datestring date required

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21.

descriptionstring required
metadataMetadata nullable

Metadata is a string-string key-value container that can be used to store information known at the time of resource creation. This can be retrieved later on, for instance when a payment or expected transaction is reconciled with the booked transaction on the bank statement.

Metadata can have at most 20 entries. Keys may have a maximum length of 64 chars and values a maximum length of 512 chars.

By default, this field is optional. It is possible to make it required in the Atlar Dashboard by visiting the Metadata keys page. Requirement rules can be specified per API resource. Both the Dashboard and the API will then enforce these rules and give validation errors when the required fields are not set.

createdstring date-time required

Time at which the resource was created.

updatedstring date-time required

Time at which the resource was last updated.

versioninteger required

Resource version. Starts at value 1 when the resource is created and increases by one for each successive update.

etagstring required

ETag based on the resource version. This can be passed along in If-Match HTTP header when updating a resource to perform a conditional update.

Example response

{
  "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
  "organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
  "scenarioId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
  "externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
  "parent": {
    "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
  },
  "amount": {
    "currency": "EUR",
    "stringValue": "15.02",
    "value": 1502
  },
  "date": "2022-05-07",
  "origin": {
    "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
  },
  "metadata": {
    "my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
  },
  "counterparty": {
    "partyType": "INDIVIDUAL",
    "name": "Customer #312",
    "nationalIdentifier": {
      "type": "CIVIC",
      "market": "DE",
      "number": "2012121212"
    },
    "address": {
      "country": "DE",
      "countrySubdivision": "US-CA",
      "city": "Stockholm",
      "postalCode": "11111",
      "streetName": "Example street",
      "streetNumber": "47"
    },
    "account": {
      "market": "DE",
      "identifiers": [
        {
          "type": "IBAN",
          "market": "DE",
          "number": "DE75512108001245126199"
        }
      ],
      "routing": [
        {
          "type": "BIC",
          "number": "BUKBGB22"
        }
      ]
    }
  },
  "created": "2022-05-04T18:31:12.889104898Z",
  "updated": "2022-05-04T18:47:32.213842599Z",
  "version": 1,
  "etag": "version:3"
}

Changes

    • warning

      added the new BD_BRN enum value to the //// response property for the response status

    • warning

      added the new CZ_NBC enum value to the //// response property for the response status

    • warning

      added the new MY_JOMPAY_BILLER_CODE enum value to the //// response property for the response status

    • warning

      added the new MY_JOMPAY_BILLER_CODE enum value to the ///// response property for the response status

    • warning

      added the new PH_BRSTN enum value to the //// response property for the response status

    • warning

      added the new WALLET_AIRWALLEX_NUMBER enum value to the //// response property for the response status

    • warning

      added the new WALLET_AIRWALLEX_NUMBER enum value to the ///// response property for the response status

    • warning

      added the new WALLET_UNIT enum value to the //// response property for the response status

    • warning

      added the new WALLET_UNIT enum value to the ///// response property for the response status

    • info

      added the new BD_BRN enum value to the request property ////

    • info

      added the new CZ_NBC enum value to the request property ////

    • info

      added the new MY_JOMPAY_BILLER_CODE enum value to the request property ////

    • info

      added the new MY_JOMPAY_BILLER_CODE enum value to the request property /////

    • info

      added the new PH_BRSTN enum value to the request property ////

    • info

      added the new WALLET_AIRWALLEX_NUMBER enum value to the request property ////

    • info

      added the new WALLET_AIRWALLEX_NUMBER enum value to the request property /////

    • info

      added the new WALLET_UNIT enum value to the request property ////

    • info

      added the new WALLET_UNIT enum value to the request property /////

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status