Generation AI

OpenAPI V2

Generate XBRLreport from source using AI analitcs.

post

Generate an XBRL report (.xbrl) from xBRL-CSV-structured data file containing the reporting data. For each of the functionality where in our API is produced result file we produce hash of the file that identifies the contents of the file. User can validate the hash value in hash validation functionality and to know if any changes are applied. By default the file hash is disabled, but it can be controlled from the dropdown below.
Response body will be for example:

{ 
    "InstanceContentBase64": "JVBERxLjQKMSAw...", 
    "TaxonomyEntrypoint": "http://www.nltaxonomie.nl/nt15/kvk/20201209/entrypoints/kvk-rpt-jaarverantwoording-2020-nlgaap-middelgroot.xsd", 
    "FactsCount": 4, 
    "TuplesCount": 3, 
    "UnitsCount": 2, 
    "ContextsCount": 1, 
    "hashResult": { 
        "InstanceContentBase64_Hash_Result": "nKDBo115PBhw3U3Y= " 
    } 
}
Authorizations
Query parameters
isHashedbooleanOptional

Optional. Specifies whether to have a hashcode included in the output. By default the value is false.

Default: false
Header parameters
x-api-versionstringRequired
ApplicationNameanyOptional

Name of the application to integrates with API’s to Semansys.Next.

PartnerNameanyOptional

Contract owner (organization) name that have embedded the API’s.

PartnerIDanyOptional

Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.

CustomerNameanyOptional

Customer (organization) name (ie. accounting firm, intermediary, ....).

CustomerIDanyOptional

Business Identification Number (BIN) of the customer.

ClientNameanyOptional

Client (organization) name of the customer of the accounting firm, intermediary...

ClientIDanyOptional

Business Identification Number (BIN) of the client.

Body
entityIdentifierstring | nullableOptional
entitySchemestring | nullableOptional
schemaRefstring | nullableOptional
decimalsstring | nullableOptional
unitstring | nullableOptional
periodstring | nullableOptional
langstring | nullableOptional
fileNamestring | nullableOptional
Responses
200
OK
application/json
post
POST /input-import/instance/generation-ai HTTP/1.1
Host: 
Authorization: Bearer JWT
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 914

{
  "conceptElements": [
    {
      "name": "string",
      "concept": "string",
      "period": "string",
      "periodType": "string",
      "unit": "string",
      "value": "string",
      "confidence": 0,
      "typeQName": "string",
      "typedMembers": [
        {
          "dimension": "string",
          "member": "string",
          "isTypedMember": true,
          "contextElement": "string",
          "dimensionLabel": "string",
          "memberLabel": "string",
          "dimensionLabelCollection": [
            {
              "label": "string",
              "language": "string",
              "labelRole": "string",
              "conceptId": "string"
            }
          ],
          "memberLabelCollection": [
            {
              "label": "string",
              "language": "string",
              "labelRole": "string",
              "conceptId": "string"
            }
          ]
        }
      ],
      "explicitMembers": [
        {
          "dimension": "string",
          "value": "string",
          "members": [
            "string"
          ]
        }
      ],
      "scenarioContent": [
        "string"
      ],
      "enumerations": [
        {
          "name": "string",
          "labels": [
            {
              "lang": "string",
              "role": "string",
              "xLinkLabel": "string",
              "labelText": "string"
            }
          ]
        }
      ]
    }
  ],
  "entityIdentifier": "string",
  "entityScheme": "string",
  "schemaRef": "string",
  "decimals": "string",
  "unit": "string",
  "period": "string",
  "lang": "string"
}
{
  "instanceContentBase64": "JVBERxLjQKMSAw...",
  "taxonomyEntrypoint": "http://www.nltaxonomie.nl/nt15/kvk/20201209/entrypoints/kvk-rpt-jaarverantwoording-2020-nlgaap-middelgroot.xsd",
  "factsCount": 3,
  "tuplesCount": 3,
  "unitsCount": 6,
  "contextsCount": 5
}

Was this helpful?