Skip to content

Add document type response fields#28

Open
owenhankinson wants to merge 1 commit into
veryfi:masterfrom
owenhankinson:add-document-type-field
Open

Add document type response fields#28
owenhankinson wants to merge 1 commit into
veryfi:masterfrom
owenhankinson:add-document-type-field

Conversation

@owenhankinson

@owenhankinson owenhankinson commented Jun 15, 2026

Copy link
Copy Markdown

Summary

  • add DocumentType to scheme.Document for standard API responses
  • add DocumentType to scheme.DetailedDocument with confidence metadata
  • cover both response shapes in existing client tests

X-lem pushed a commit to bookreport/veryfi-go that referenced this pull request Jun 15, 2026
- Add `DocumentType string` to `scheme.Document`
- Add `DocumentType *DetailedField` to `scheme.DetailedDocument`
- Update receipt_public.json test fixture with document_type field
- Cover both response shapes in client tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant