Fill

Fill a form → a sealed PDF (1 credit; test keys free)

Body: values keyed by parameter name, plus optional style (Style) and profile_id. A live key spends 1 credit of the month (or a prepaid credit); a test key is free and watermarked.

Response headers: X-Document-Id (keep it — ?revise and /verify use it), X-Credit-Cost (credits this call used), X-Is-Complete (true when every core field is filled), X-Fields-Missing (core fields left blank), X-Missing-Count, X-Fields-Filled, X-Computed, X-Quota-Used / X-Quota-Limit (credits this month), X-Profile-Filled, X-Revise-Of, X-Revise-Remaining, X-Replay-Of.

A repeat (exactly the same values and style on the same form, already filled by this account this Manila month) costs 0 and sends X-Replay-Of: the earlier document. It is allowed past a used-up quota and is as clean as the earlier PDF.

post/api/v1/engine/fill/{id}

Request

  • Base URL: https://philforms.com
  • URL: https://philforms.com/api/v1/engine/fill/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-PDFPhile-Embed

Path parameters

idstring required

Query parameters

compute'1'

Fill the blank lines the form itself says how to compute (1700, 1701, 1701A and 1701Q incl. their printed tax tables, 1601-C, 2316, 2550Q, 2551Q, 0605; printed limits come back as warning on check) — never a value you sent

revisestring

Edit a PDF you already made: its X-Document-Id. Free (0 credits) when same account + same key kind, same form, within 7 days of the first fill, < 5 edits, same filer ID (or at most one name part changed); else 409 with the reason, nothing charged; unknown document → 404

strict'1'

Reject unknown parameters

requirestring

"core", "all" or a,b,c — refuse the fill while these are blank

Headers

X-PDFPhile-Orgstring

Act in this organization (older name: X-PDFPhile-Team): billed to its owner's plan, tagged with your unit (X-PDFPhile-Unit picks another unit you may act in)

Request body

object required

Values keyed by parameter name

Response

The filled, sealed PDF

Changes

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