Pactman Developer Resources · Nonprofit verification answers for developers and compliance teams
Home  /  Artifacts  /  How to Handle a Nonprofit Verification API Response With Missing or Null IRS Data
Artifact · Developer How-To

How to Handle a Nonprofit Verification API Response With Missing or Null IRS Data

Treat null or missing values as field-specific absence, not a universal verification result. Evaluate the surrounding source signals: BMF fields, Pub. 78 fields, church and group-exemption messages, revocation fields, foundation classification and source dates. The supplied samples contain legitimate null values such as `organization_name_aka`, `revocation_code`, `revocation_date` and `reinstatement_date`.

Updated September 28, 20266 min readFor developers, compliance teams, donation platforms & fintech and nonprofit software teams

Direct answer

Handle missing or null IRS data field by field. Do not convert null into a universal "failed," "verified," or "not applicable" result.

The supplied current responses contain legitimate null values, including organization_name_aka, revocation_code, revocation_date and reinstatement_date. Church-message fields can also be null when the exception does not apply.

  1. Confirm the top-level response succeeded.
  2. Confirm ein and organization_name.
  3. Evaluate BMF fields together.
  4. Evaluate Pub. 78 fields together.
  5. Review church and group-exemption context.
  6. Treat revocation nulls as absence of returned event values, not a universal guarantee.
  7. Keep foundation fields separate from BMF subsection.
  8. Review irs_bmf_pub78_conflict.
  9. Check most_recent_bmf, most_recent_pub78 and organization_info_last_modified.
  10. Route incomplete records through explicit fallback or review logic.

Example request(s)

curl --request GET \
  --url https://entities.pactman.org/api/entities/nonprofitcheck/v1/us/ein/YOUR_EIN \
  --header 'Authorization: Bearer YOUR_API_KEY'

Implementation note: The endpoint name above reflects the Pactman single-EIN Nonprofit Check endpoint used in Pactman's Production/Customer Environment.

curl --request POST \
  --url https://entities.pactman.org/api/entities/nonprofitcheckbulk/v1/us/eins \
  --header 'accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '[
    "YOUR_EIN_1",
    "YOUR_EIN_2",
    "YOUR_EIN_3",
    "YOUR_EIN_4",
    "YOUR_EIN_5"
  ]'

Implementation note: The endpoint name above reflects the Pactman bulk-EIN Nonprofit Check endpoint used in Pactman's Production/Customer Environment. You can have at most 50 EINs in a bulk-EIN Nonprofit Check endpoint request.

What your application should evaluate

Signal Why it matters Typical application decision
Identity fields ein and organization_name establish the returned record. Confirm identity before interpreting source-specific nulls.
BMF fields BMF status, identity and subsection are a source group. Interpret missing BMF values within BMF context.
Pub. 78 fields Pub. 78 presence, identity and contribution fields are a separate source group. Interpret missing values within Pub. 78 context.
Church and group fields Exception fields can explain source absence. Check before auto-failing a missing-source record.
Revocation fields Null event fields mean no event value is returned in those fields. Do not turn null into a universal current-status guarantee.
Source dates Provides freshness context. Distinguish missing data from stale or differently timed data.

Example decision logic

A robust null-handling layer might:

  • classify fields by source;
  • distinguish false from null;
  • distinguish an empty exception field from a positive exception message;
  • retain null revocation fields as null;
  • avoid deriving missing source values from unrelated fields; and
  • escalate only when required by the application's policy.

The supplied examples show null values even in otherwise successful responses, so null handling should be expected rather than treated as a transport error.

Important: Do not fabricate replacement values for null fields.

Why use a consolidated nonprofit verification API?

A normalized response makes it easier to apply source-aware null handling consistently.

Pactman preserves BMF, Pub. 78, revocation, OFAC and classification fields separately.

One normalized response

Handle source-specific absence in one application model.

Separate source signals

Avoid substituting one IRS source for another without an explicit rule.

Reusable compliance rules

Apply consistent null handling across donations, grants and onboarding.

Developer-friendly automation

Turn missing data into predictable review states instead of fragile one-off exceptions.

Frequently asked questions

Does null revocation_date prove the organization has never been revoked?

No. It means the response contains no value in that field.

Is false the same as null for pub78_verified?

No. The mapping explicitly defines false as not present in Pub. 78, while null is a different value state.

Can I fill a missing BMF field from Pub. 78?

Only if your application has an explicit source-aware rule. Do not silently substitute one source for another.

Should missing data always block the workflow?

The supplied files do not define a universal block rule. Handle missing data according to the field, source and business policy.

Next step

Model null explicitly, preserve source boundaries, and route incomplete records according to documented workflow rules.

Ready to make null handling explicit?

Use Pactman Nonprofit Check Plus API source fields individually and route missing data according to the source and workflow.

Get an API Key →