ASAP · Schema

InboundView

Public projection of an [`InboundRecord`]. Light by design: the structured CII XML and the integrity digest are not surfaced; the readable PDF is referenced by its object-store key.

FreelanceBillingCRMProductivity

Properties

Name Type Description
byte_size integernull Size in bytes of the stored object, when known.
created_at string RFC3339 creation timestamp.
currency stringnull Invoice currency code (BT-5), when parsed.
due_date stringnull Payment due date as ISO `YYYY-MM-DD` (BT-9), when parsed.
id string Stable identifier.
imported_at stringnull RFC3339 import timestamp, when set.
invoice_number stringnull Invoice number extracted from the CII (BT-1), when parsed.
issue_date stringnull Issue date as ISO `YYYY-MM-DD` (BT-2), when parsed.
parse_status string CII parse outcome: `'parsed'`, `'parse_failed'`, `'pdf_only'` (a PDF with no embedded CII) or `'pending'`.
pdf_origin object Origin of the PDF the `/pdf` route serves.
pdf_storage_key stringnull Object-store key of the readable PDF, when stored.
received_at stringnull RFC3339 reception timestamp (as reported by the PA), when known.
received_lifecycle object What the org decided about the invoice.
refusal_reason stringnull Motive of a refusal or dispute.
refusal_reason_code stringnull Coded motive (MDT-113, AFNOR XP Z12-012) of a refusal or dispute; absent on decisions taken before the code was required.
seller_name stringnull Seller name extracted from the CII (BT-27), when parsed.
sender_siren stringnull SIREN of the sender, when provided.
submission_error stringnull Failure code when `submission_state` is `error`: `not_connected`, `rejected` or `enqueue_failed`.
submission_state object Whether the decision has reached the platform.
submitted_at stringnull RFC3339 time the platform accepted the decision.
total_ht integernull Total amount without VAT in cents (BT-109), when parsed.
total_ttc integernull Grand total with VAT in cents (BT-112), when parsed.
total_vat integernull Total VAT amount in cents (BT-110), when parsed.
transmission_id string PA-assigned transmission id.
View JSON Schema on GitHub

JSON Schema

asap-cool-inbound-view-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-inbound-view-schema.json",
  "title": "InboundView",
  "description": "Public projection of an [`InboundRecord`].\n\nLight by design: the structured CII XML and the integrity digest are not\nsurfaced; the readable PDF is referenced by its object-store key.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-openapi.json#/components/schemas/InboundView",
  "type": "object",
  "required": [
    "id",
    "transmission_id",
    "pdf_origin",
    "created_at",
    "parse_status",
    "received_lifecycle",
    "submission_state"
  ],
  "properties": {
    "byte_size": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Size in bytes of the stored object, when known."
    },
    "created_at": {
      "type": "string",
      "description": "RFC3339 creation timestamp."
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "Invoice currency code (BT-5), when parsed."
    },
    "due_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Payment due date as ISO `YYYY-MM-DD` (BT-9), when parsed."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Stable identifier."
    },
    "imported_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "RFC3339 import timestamp, when set."
    },
    "invoice_number": {
      "type": [
        "string",
        "null"
      ],
      "description": "Invoice number extracted from the CII (BT-1), when parsed."
    },
    "issue_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Issue date as ISO `YYYY-MM-DD` (BT-2), when parsed."
    },
    "parse_status": {
      "type": "string",
      "description": "CII parse outcome: `'parsed'`, `'parse_failed'`, `'pdf_only'` (a PDF\nwith no embedded CII) or `'pending'`."
    },
    "pdf_origin": {
      "$ref": "#/$defs/PdfOriginView",
      "description": "Origin of the PDF the `/pdf` route serves."
    },
    "pdf_storage_key": {
      "type": [
        "string",
        "null"
      ],
      "description": "Object-store key of the readable PDF, when stored."
    },
    "received_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "RFC3339 reception timestamp (as reported by the PA), when known."
    },
    "received_lifecycle": {
      "$ref": "#/$defs/ReceivedLifecycleView",
      "description": "What the org decided about the invoice."
    },
    "refusal_reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Motive of a refusal or dispute."
    },
    "refusal_reason_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Coded motive (MDT-113, AFNOR XP Z12-012) of a refusal or dispute;\nabsent on decisions taken before the code was required."
    },
    "seller_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Seller name extracted from the CII (BT-27), when parsed."
    },
    "sender_siren": {
      "type": [
        "string",
        "null"
      ],
      "description": "SIREN of the sender, when provided."
    },
    "submission_error": {
      "type": [
        "string",
        "null"
      ],
      "description": "Failure code when `submission_state` is `error`: `not_connected`,\n`rejected` or `enqueue_failed`."
    },
    "submission_state": {
      "$ref": "#/$defs/SubmissionStateView",
      "description": "Whether the decision has reached the platform."
    },
    "submitted_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "RFC3339 time the platform accepted the decision."
    },
    "total_ht": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Total amount without VAT in cents (BT-109), when parsed."
    },
    "total_ttc": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Grand total with VAT in cents (BT-112), when parsed."
    },
    "total_vat": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Total VAT amount in cents (BT-110), when parsed."
    },
    "transmission_id": {
      "type": "string",
      "description": "PA-assigned transmission id."
    }
  },
  "$defs": {
    "PdfOriginView": {
      "type": "string",
      "description": "Where the PDF served by `GET .../pdf` comes from.",
      "enum": [
        "received",
        "rendered",
        "none"
      ]
    },
    "ReceivedLifecycleView": {
      "type": "string",
      "description": "What the org decided about a received invoice.",
      "enum": [
        "received",
        "approved",
        "refused",
        "disputed",
        "paid"
      ]
    },
    "SubmissionStateView": {
      "type": "string",
      "description": "Whether the decision has reached the platform.",
      "enum": [
        "none",
        "pending",
        "sent",
        "error"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/asap-cool-inbound-view"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.