DocInvoice

Model that describes an invoice.

Name Type Description
amount Decimal Amount.
attached_user User Responsible user.
base_document_id Int64 Legacy source document field. Current API response fills it from the stored source document type value.
blocked Boolean Indicates whether the invoice is locked for editing: true - locked, false - not locked.
code String Invoice code generated or supplied by the client. Maximum length is 50 characters.
contract DocContractShort Contract.
corrected_code String Code of the corrected source document. Maximum length is 50 characters.
corrected_date Int64 Date of the corrected source document as Unix time in seconds.
currency Currency Currency.
current_user_blocked Boolean Indicates whether the invoice is locked for editing by the current user: true - locked, false - not locked.
date Int64 Invoice date as Unix time in seconds.
deleted_mark Boolean Indicates whether the invoice is marked for deletion: true - marked for deletion, false - not marked.
description String Additional description. Maximum length is 300 characters.
document_type Int64 Legacy source document type field. Current API response fills it from the stored source document ID value.
error String Errors while sending or receiving the document through the EDI service. Maximum length is 1024 characters.
exchange_rate Decimal Exchange rate.
external_code String Unique response code from the faktura.uz service. Maximum length is 100 characters.
firm Firm Company.
id Int64 Invoice ID.
invoice_type String Invoice document type: Income - incoming invoice, Outcome - outgoing invoice, Corrective - corrective invoice. Allowed values: Default, Income, Outcome, Corrective.
last_update Int64 Modification date as Unix time.
partner Partner Partner.
performed Boolean Indicates whether the invoice is posted: true - posted, false - not posted.
status String New - invoice created, InSentProgress - sending in progress, Sent - sent, InReceivedProgress - receiving in progress, Received - received, ErrorSent - sending error, ErrorReceived - receiving error, Unknown - status is unknown. Allowed values: Default, New, InSentProgress, Sent, InReceivedProgress, Received, ErrorSent, ErrorReceived, Unknown.
uuid String Invoice UUID.
vat_calculation_type String VAT calculation mode: No - do not accrue, Exclude - included in the amount, Include - added on top. Allowed values: No, Exclude, Include.