Autenticación Autorización Filtros Hardware Cashier Companies Documents Entities ExternalApps Fiscal Funds Notifications Products Shared Users

documents resource

GET http://api.multinexo.com/v1/companies/{company_id}/documents

Attributes

cae
create, read, update
cae_expiration_date
create, read, update
net
create, read, update numeric
total
create, read, update numeric
emission_date
create, read, update EmissionDateFilter Sortable
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
create, read, update in [sales, purchases] EnumFilter Sortable
receipt_type
create, read, update in [invoice, credit, debit, order_sell, order_buy, no_fiscal, quotation, zeta] EnumFilter Sortable
status
create, read, update in [draft, failed, queued, confirmed] EnumFilter Sortable
letter
read LetterFilter Sortable
receipt_volume
create, read, update integer StringFilter Sortable
receipt_number
create, read, update integer StringFilter Sortable

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

http://api.multinexo.com/v1/companies/{company_id}/documents?filter[emission_date]=someValue

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/