Document object representing your invoice. NOTE: partner property is deprecated. Please use document_partner instead.
Name | Type | Description | Notes |
---|---|---|---|
id | int | The document's unique identifier. | [optional] |
invoice_number | str | The document's invoice number. | [optional] |
type | DocumentType | [optional] | |
cancelled | bool | [optional] | |
block_id | int | DocumentBlock's identifier. | [optional] |
payment_status | PaymentStatus | [optional] | |
payment_method | PaymentMethod | [optional] | |
gross_total | float | The document's gross total price. | [optional] |
currency | Currency | [optional] | |
conversion_rate | float | [optional] | |
invoice_date | date | [optional] | |
fulfillment_date | date | [optional] | |
due_date | date | [optional] | |
paid_date | date | [optional] | |
organization | DocumentOrganization | [optional] | |
partner | Partner | [optional] | |
document_partner | DocumentPartner | [optional] | |
electronic | bool | [optional] | |
comment | str | [optional] | |
tags | List[str] | [optional] | |
notification_status | DocumentNotificationStatus | [optional] | |
language | DocumentLanguage | [optional] | |
items | List[DocumentItem] | [optional] | |
summary | DocumentSummary | [optional] | |
settings | DocumentSettings | [optional] | |
online_szamla_status | OnlineSzamlaStatusEnum | [optional] | |
related_documents | List[DocumentAncestor] | [optional] | |
discount | Discount | [optional] | |
correction_type | CorrectionType | [optional] |
from clientapi_billingo.models.document import Document
# TODO update the JSON string below
json = "{}"
# create an instance of Document from a JSON string
document_instance = Document.from_json(json)
# print the JSON string representation of the object
print(Document.to_json())
# convert the object into a dict
document_dict = document_instance.to_dict()
# create an instance of Document from a dict
document_from_dict = Document.from_dict(document_dict)