documents resource
Attributes
- cae
-
create, read, update
- cae_expiration_date
-
create, read, update
- net
-
create, read, update numeric
- total
-
create, read, update numeric
- emission_date
- 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
- section
- receipt_type
-
create, read, update in [invoice, credit, debit, order_sell, order_buy, no_fiscal, quotation, zeta] EnumFilter Sortable
- status
- letter
- receipt_volume
- receipt_number
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
- seller
-
has one of type: seller
Filter example
JSON Resource Example
{ data: { type: documents, id: 261, attributes: { cae: someValue, cae_expiration_date: someValue, net: someValue, total: someValue, emission_date: someValue, observation: someValue, discount_percent: someValue, discount_amount: someValue, pdf_url: someValue, canceled: someValue, fiscal_observation: someValue, show_amounts: true, section: someValue, receipt_type: someValue, status: someValue, letter: someValue, receipt_volume: someValue, receipt_number: someValue }, relationships: { details:{ id: 906, type: details }, currency:{ id: 629, type: currency }, entity:{ id: 116, type: entity }, physicalpos:{ id: 335, type: physicalpos }, closureReceipt:{ id: 889, type: closureReceipt }, cashier_entries:{ id: 481, type: cashier_entries }, receipt:{ id: 355, type: receipt }, documents:{ id: 953, type: documents }, seller:{ id: 921, type: seller } } } }
JSON-API Entry points
DELETE PATCH GET http://api.multinexo.com/v1/companies/{company_id}/documents/{resource_id}
POST http://api.multinexo.com/v1/companies/{company_id}/documents/