-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocument.py
More file actions
43 lines (31 loc) · 1.32 KB
/
document.py
File metadata and controls
43 lines (31 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from datetime import datetime
from typing_extensions import Literal
from .._models import BaseModel
__all__ = ["Document"]
class Document(BaseModel):
id: str
"""The Document identifier."""
category: Literal["form_1099_int", "form_1099_misc", "proof_of_authorization", "company_information"]
"""The type of document.
- `form_1099_int` - Internal Revenue Service Form 1099-INT.
- `form_1099_misc` - Internal Revenue Service Form 1099-MISC.
- `proof_of_authorization` - A document submitted in response to a proof of
authorization request for an ACH transfer.
- `company_information` - Company information, such a policies or procedures,
typically submitted during our due diligence process.
"""
created_at: datetime
"""
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
Document was created.
"""
entity_id: Optional[str] = None
"""The identifier of the Entity the document was generated for."""
file_id: str
"""The identifier of the File containing the Document's contents."""
type: Literal["document"]
"""A constant representing the object's type.
For this resource it will always be `document`.
"""