Generation
OpenAPI V2
Generate an XBRL report (.xbrl) from JSON-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": { 
        "Hash_Result": "nKDBo115PBhw3U3Y= " 
    } 
}
Optional. Specifies whether to have a hashcode included in the output. By default the value is false.
falseName of the application to integrates with API’s to Semansys.Next.
Contract owner (organization) name that have embedded the API’s.
Business Identification Number (BIN) of the contract owner (organization) to embeds the API’s.
Customer (organization) name (ie. accounting firm, intermediary, ....).
Business Identification Number (BIN) of the customer.
Client (organization) name of the customer of the accounting firm, intermediary...
Business Identification Number (BIN) of the client.
Taxonomy entrypoint
http://www.nltaxonomie.nl/nt15/kvk/20201209/entrypoints/kvk-rpt-jaarverantwoording-2020-nlgaap-middelgroot.xsdSpecify xml:lang attribute in 'xbrl' element
enReporting entity identifier
12345678A scheme URI for identifying business entities
http://www.kvk.nl/kvk-idDefault unit identifier. Used when no unit specified on data row level
iso4217:EURDefault reporting period as start date/end date in yyyy-MM-dd format. Used when no period specified on data row leve
2020-01-01/2020-12-31Default decimals for numeric facts. Used when no decimals specified on data row level. If omitted, default is 'INF'
INFThe name of the file.
My report.xbrlOK
Bad Request
Unauthorized
POST /input-import/instance/generation HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-version: text
Content-Type: application/json
Accept: */*
Content-Length: 816
{
  "schemaRef": "http://www.nltaxonomie.nl/nt15/kvk/20201209/entrypoints/kvk-rpt-jaarverantwoording-2020-nlgaap-middelgroot.xsd",
  "lang": "en",
  "entityIdentifier": "12345678",
  "entityScheme": "http://www.kvk.nl/kvk-id",
  "unit": "iso4217:EUR",
  "period": "2020-01-01/2020-12-31",
  "decimals": "INF",
  "dataRows": [
    {
      "value": "600000",
      "concept": "jenv-bw2-i:IntangibleAssets",
      "conceptNamespaceUri": "https://www.xbrl.org/2008/reference",
      "unit": "iso4217:EUR",
      "scenarioContent": [
        "jenv-bw2-dim:BasisOfPreparationAxis#jenv-bw2-dm:CommercialMember",
        "jenv-bw2-dim:FinancialStatementsTypeAxis#jenv-bw2-dm:SeparateMember"
      ],
      "segmentContent": [
        "Segment information here"
      ],
      "decimals": "INF",
      "period": "2020-01-01/2020-12-31",
      "tupleUniqueId": "tuple-123",
      "tupleConceptIds": {
        "additionalProp1": "value1",
        "additionalProp2": "value2",
        "additionalProp3": "value3"
      }
    }
  ]
}{
  "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?