Documents
Represents a type of document by which a transaction is declared. This object is used by the Subscriptions, Billing APIs and the Purchases application.
Last updated
Represents a type of document by which a transaction is declared. This object is used by the Subscriptions, Billing APIs and the Purchases application.
Last updated
Name | Type | Description |
---|---|---|
Attributes
id string
Unique object's identifier.
tax decimal
Base tax percentage used by document type.
code string
Internal Piriod ID to the document type.
name string
Name of the document type.
has_taxes string
Determines if the document type includes taxes.
has_taxes_detail boolean
Determines if the document type shows taxes.
has_lines_total boolean
Determines if taxes are included in the lines of the related object to the document type.
has_local_format boolean
Determines if the related object to the document type has a local format representation.
hold_taxes boolean
Determines if the related object to the document type hold taxes (add or subtract).
is_foreign boolean
Determines if the document type can be used to foreign operations.
is_sale boolean
Determines if the document type can be used to sale operations.
is_purshase boolean
Determines if the document type can be used to purchase operations.
is_order boolean
Determines if the document type can be used to shipping operations.
send boolean
Determine if it supports submissions through the Reminders API.
given boolean
Determines if the document type can be given to another business through tax agency.
country
string
ID string of a particular country or multiple countries (using __in filter operator)
currency
string
ID string of a particular currency or multiple currencies (using __in filter operator)
is_sale
string
True
or False
is_purchase
string
True
or False
is_order
string
True
or False
hold_taxes
string
True
or False