Jobs

Charge this sale, certified

Charge this sale, certified: the charge-this-sale dossier plus an Ed25519-signed certified extract of the governing VAT rate (source fingerprint, last confirmed) for filing. Refused free if uncertifiable.

post/v1/jobs/charge-sale/certified

Request

  • Base URL: https://asiaref.dev
  • URL: https://asiaref.dev/v1/jobs/charge-sale/certified
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • API key in header X-PAYMENT
    • API key in header X-API-Key

Headers

X-Free-Trial'1'

Opt in to the free trial (3 calls/day/IP).

Request body

seller_countrystring required

ISO 3166-1 alpha-2 (EL = Greece, UK = United Kingdom)

buyer_countrystring

ISO 3166-1 alpha-2; omit for single-country rate maths

buyer_type'B2B' | 'B2C' | 'unknown'

Default unknown (treated as B2C, flagged)

amountnumber required
amount_is'net' | 'gross'

net = add VAT (default); gross = extract VAT

bandstring

Statutory VAT band key (see /catalog); default standard rate

receiptboolean

Optional. Default false. When true, a paid HTTP 200 embeds an Ed25519-signed receipt (kind answer_receipt) the caller can file and later verify at /certified/public-key. Included in this answer's existing price — no extra charge. The field is omitted on unpaid 402 and on free 4xx refusals. This is not a series certified extract: GET /v1/certified/{country}/{series} is a different artifact, with its own price.

Response

Dossier: verdict (charge_vat, vat_country, rule), invoice (net, tax, gross, rate), registration threshold, place_of_supply rule and workings, evidence with official sources. Optional property receipt (schema AnswerReceipt, kind answer_receipt) is present only when the request set receipt:true and this response is a paid HTTP 200. Unpaid 402 and free 4xx refusals do not include receipt. Not a series certified extract (GET /v1/certified/{country}/{series}).

confidence_label'high' | 'medium' | 'low'

Derived from source type, verification age, stale. Rules: /label-rules

coverage_label'ready' | 'partial' | 'gap'

ready=complete, partial=limited, gap=no number. Rules: /label-rules

label_basisobject

Inputs and rule ids behind both labels

Example response

{
  "receipt": {
    "kind": "answer_receipt",
    "receipt_id": "0123456789abcdef01234567",
    "answer": "vat",
    "request": {
      "country": "za",
      "amount": 100,
      "mode": "add",
      "receipt": true
    },
    "result": {
      "status": "ok"
    },
    "cited_series": [
      {
        "country": "za",
        "series_id": "vat",
        "value": null,
        "last_confirmed": "2026-04-01",
        "source_url": null,
        "source_sha256": null
      }
    ],
    "issued_at": "2026-09-25T15:45:00.000Z",
    "limitations": [
      "This receipt is not a series certified extract (GET /v1/certified/{country}/{series}).",
      "This receipt is not legal advice. It only covers the computation over the cited series as of each series' last_confirmed."
    ],
    "signature": {
      "alg": "Ed25519",
      "key_id": "<same key_id as /certified/public-key>",
      "public_key": "https://example.invalid/certified/public-key",
      "signed_payload": "canonical JSON of answer_receipt: keys sorted recursively, no whitespace (see /certified/public-key)",
      "value": "<base64>"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.