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 (empty string) | 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

user
has one
company
has one
entity
has one
currency
has one
seller
has one
receipt
has one
physicalpos
has one
cashier_entries
has many
details
has many

JSON Resource Example

  {
    data: {
      type: documents,
      id: 808,
      attributes: {
        section: someValue,
        receipt_type: someValue,
        receipt_volume: 623,
        receipt_number: 119,
        total_commission: someValue,
        total_cost: someValue,
        total_net_price: someValue,
        total_final_price: someValue,
        discount_percent: someValue,
        discount_amount: someValue,
        emission_date: 2019-01-17T19:54:42+00:00,
        cae: someValue,
        cae_expiration_date: 2019-01-17T19:54:42+00:00,
        observation: someValue,
        show_amounts: someValue,
        canceled: someValue,
        fiscal_observation: someValue,
        status: someValue,
        created_at: 2019-01-17T19:54:42+00:00,
        updated_at: 2019-01-17T19:54:42+00:00,
        deleted_at: 2019-01-17T19:54:42+00:00
        },
      relationships: { 
         user:{
          id: 499,
          type: users
        },
      
         company:{
          id: 255,
          type: companies
        },
      
         entity:{
          id: 858,
          type: entities
        },
      
         currency:{
          id: 159,
          type: currencies
        },
      
         seller:{
          id: 958,
          type: entities
        },
      
         receipt:{
          id: 402,
          type: receipts
        },
      
        physicalpos:{
          id: 560,
          type: physicalpos
        },
      
        cashier_entries:{
          id: 371,
          type: cashier_entries
        },
      
        details:{
          id: 953,
          type: details
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/documents/{documents_id}

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