Autenticación Hardware Cashier Companies Documents Entities Fiscal Products Shared Users

documents resource

GET http://api.multinexo.com/v1/documents

Attributes

section
create, read sales | purchases
receipt_type
create, read invoice | credit | debit | order_sell | order_buy | quotation | zeta
receipt_volume
read number
receipt_number
read number
total_commission
read decimal
total_cost
read decimal
total_net_price
read decimal
total_final_price
read decimal
discount_percent
read decimal
discount_amount
read decimal
emission_date
read datetimew3c
cae
read
cae_expiration_date
read datetimew3c
observation
read
show_amounts
create, read, update true | false
canceled
create, read, update true | false
fiscal_observation
create, read, update
status
create, read, update draft | failed | queued | confirmed
created_at
read datetimew3c
updated_at
read datetimew3c
deleted_at
read datetimew3c

Relationships

entity
has one of type: entities
currency
has one of type: currencies
seller
has one of type: entities
receipt
has one of type: receipts
physicalpos
has one of type: physicalpos
fiscalpos
has one of type: fiscalpos
closureReceipt
has one of type: closure_receipts
cashier_entries
has many of type: cashier_entries
documents
has many of type: documents
details
has many of type: details

JSON Resource Example

  {
    data: {
      type: documents,
      id: 707,
      attributes: {
        section: someValue,
        receipt_type: someValue,
        receipt_volume: 952,
        receipt_number: 668,
        total_commission: someValue,
        total_cost: someValue,
        total_net_price: someValue,
        total_final_price: someValue,
        discount_percent: someValue,
        discount_amount: someValue,
        emission_date: 2019-09-16T14:06:24+00:00,
        cae: someValue,
        cae_expiration_date: 2019-09-16T14:06:24+00:00,
        observation: someValue,
        show_amounts: someValue,
        canceled: someValue,
        fiscal_observation: someValue,
        status: someValue,
        created_at: 2019-09-16T14:06:24+00:00,
        updated_at: 2019-09-16T14:06:24+00:00,
        deleted_at: 2019-09-16T14:06:24+00:00
        },
      relationships: { 
         entity:{
          id: 285,
          type: entities
        },
      
         currency:{
          id: 294,
          type: currencies
        },
      
         seller:{
          id: 894,
          type: entities
        },
      
         receipt:{
          id: 573,
          type: receipts
        },
      
        physicalpos:{
          id: 831,
          type: physicalpos
        },
      
        fiscalpos:{
          id: 153,
          type: fiscalpos
        },
      
         closureReceipt:{
          id: 686,
          type: closure_receipts
        },
      
        cashier_entries:{
          id: 126,
          type: cashier_entries
        },
      
        documents:{
          id: 462,
          type: documents
        },
      
        details:{
          id: 820,
          type: details
        }
      }
    }
  }

JSON-API Entry points

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