Skip to content

Upload a source document

Who does this: XBRL Preparer · XBRL Reviewer · Senior Accountant · Platform Admin When: A filing is at DRAFT and you need to ingest a financial-statement DOCX or PDF. Result: XbrlSourceDocument, XbrlLineItem, and XbrlTagMapping (unconfirmed) rows populated. Filing transitions to MAPPING_IN_PROGRESS.

Before you start

  • [ ] Filing at DRAFT (see Create an XBRL filing).
  • [ ] A DOCX or PDF with textual tables (a rasterised scan will yield zero line items).
  • [ ] File size ≤ 10 MB.
  • [ ] You hold INGEST_XBRL_DOCUMENT.

Steps

  1. Open the filing detail page → Documents tab.
  2. Click Upload source document.
  3. Drop the DOCX or PDF into the drag-drop zone.
  4. The handler:
    • Persists the bytes to S3
    • Computes SHA-256 (dedup)
    • Inserts XbrlSourceDocument with parseStatus = PENDING
    • Enqueues ingest-fs-documentextract-line-itemssuggest-tag-mappings
  5. Within ~30–60 seconds the Documents tab refreshes with parseStatus = PARSED and the Mappings tab populates with rows.

How to know it worked

  1. XbrlSourceDocument.parseStatus = PARSED.
  2. Line items appear on the Mappings tab grouped by statement.
  3. Filing status badge moved through DRAFT → DOCUMENTS_INGESTED → MAPPING_IN_PROGRESS.
  4. Activity log threads xbrl.document.uploadedxbrl.document.parsedxbrl.mappings.suggested.

Common situations

If you see…It means…What to do
parseStatus = FAILED and zero line itemsDOCX/PDF was rasterised or has no extractable tablesSee Zero line items. Ask the client for a textual file or use Pull from FS engagement
Line items extracted but mostly empty valueCurrentTable layout edge case in the parserSee DOCX table not parsed
Suggestion confidence is all LOWSource headings don't align to standard statement namesSee All low confidence
413 Payload Too LargeFile > 10 MBStrip non-statement appendices and re-upload

Re-uploading

Re-uploading the same bytes is idempotent (sha256 dedup). Re-uploading a different file from MAPPING_IN_PROGRESS is allowed but drops all line items and mappings — the UI prompts to confirm.

Internal use only — BreezyCorp