documents resource
Attributes
- cae
-
create, read, update
- cae_expiration_date
-
create, read, update
- net
-
create, read, update numeric
- total
-
create, read, update numeric
- observation
-
create, read, update
- discount_percent
-
create, read, update numeric
- discount_amount
-
create, read, update numeric
- pdf_url
-
create, read, update
- canceled
-
create, read, update
- fiscal_observation
-
create, read, update
- show_amounts
-
create, read, update boolean
- emission_date
- section
- receipt_type
-
create, read, update enum (invoice, credit, debit, order_sell, order_buy, no_fiscal, quotation, zeta) EnumFilter Sortable
- status
- letter
- receipt_volume
- receipt_number
- has_costs
Relationships
- details
-
has one of type: details
- currency
-
has one of type: currency
- entity
-
has one of type: entity
- physicalpos
-
has one of type: physicalpos
- closureReceipt
-
has one of type: closureReceipt
- cashier_entries
-
has one of type: cashier_entries
- receipt
-
has one of type: receipt
- documents
-
has one of type: documents
- costs
-
has one of type: costs
- seller
-
has one of type: seller
Filter example
JSON Resource Example
{
data: {
type: documents,
id: 998,
attributes: {
cae: someValue,
cae_expiration_date: someValue,
net: someValue,
total: someValue,
observation: someValue,
discount_percent: someValue,
discount_amount: someValue,
pdf_url: someValue,
canceled: someValue,
fiscal_observation: someValue,
show_amounts: true,
emission_date: someValue,
section: someValue,
receipt_type: someValue,
status: someValue,
letter: someValue,
receipt_volume: someValue,
receipt_number: someValue,
has_costs: someValue
},
relationships: {
details:{
id: 585,
type: details
},
currency:{
id: 779,
type: currency
},
entity:{
id: 698,
type: entity
},
physicalpos:{
id: 463,
type: physicalpos
},
closureReceipt:{
id: 920,
type: closureReceipt
},
cashier_entries:{
id: 633,
type: cashier_entries
},
receipt:{
id: 877,
type: receipt
},
documents:{
id: 793,
type: documents
},
costs:{
id: 553,
type: costs
},
seller:{
id: 754,
type: seller
}
}
}
}
JSON-API Entry points
DELETE PATCH GET https://api.multinexo.comcompanies/{company_id}/documents/{resource_id}
POST https://api.multinexo.comcompanies/{company_id}/documents/