documentation.missing. Each item says which document types satisfy it, how many files it needs and, for tenant documents, which tenant it is about.
How it works
- Read
documentation.missingin the case. - Upload a document for one of the items with
POST /non-payment-insurance/cases/{caseId}/documents, as a file with its type and, for tenant documents, the tenant’sid. - The response returns the document and the updated
documentation. - Repeat until
documentation.missingis empty. The case is thenready-to-issue.
DELETE /non-payment-insurance/cases/{caseId}/documents/{documentId} while the case is pending-documentation or ready-to-issue. The call answers 204 with no body: read the case to see the updated documentation. If the document satisfied a requirement, the case goes back to pending-documentation.
Document types
Which ones a given person needs depends on their working status, and the case tells you in
documentation.missing: each requirement lists the types that satisfy it (anyOf) and how many files it needs (minFiles).