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

orders resource

GET http://api.multinexo.com/v1/company/{company_id}/orders

Attributes

author_id
create, read, update
section
create, read sales | purchases
letter
create, read, update X
receipt_type
create, read order_sell | order_buy
receipt_volume
create, read
receipt_number
create, read
total_commission
create, read, update
net
create, read, update
total
create, read, update
draft
create, read, update
status
create, read, update draft | confirmed
show_amounts
create, read, update true/false
canceled
create, read, update
cae
create, read, update
cae_expiration_date
create, read, update
fiscal_observation
create, read, update
observation
create, read, update
pdf_url
read
emission_date
create, read datetimew3c

Relationships

entity
has one
currency
has one
details
has many
quotations
has many
Invoices
has many
receipt
has one

Filters

date
date_range no acepta varios valores
receipt_volume
equals no acepta varios valores
receipt_number
equals no acepta varios valores
section
equals no acepta varios valores
receipt_type
equals no acepta varios valores
status
equals se acepta varios valores, separados por coma
entity_name
equals se acepta varios valores, separados por coma
entity_id
equals se acepta varios valores, separados por coma

JSON Resource Example

  {
    data: {
      type: orders,
      id: 824,
      attributes: {
        author_id: someValue,
        section: someValue,
        letter: someValue,
        receipt_type: someValue,
        receipt_volume: someValue,
        receipt_number: someValue,
        total_commission: someValue,
        net: someValue,
        total: someValue,
        draft: someValue,
        status: someValue,
        show_amounts: someValue,
        canceled: someValue,
        cae: someValue,
        cae_expiration_date: someValue,
        fiscal_observation: someValue,
        observation: someValue,
        pdf_url: someValue,
        emission_date: 2018-08-28T16:31:47+00:00
        },
      relationships: { 
         entity:{
          id: 526,
          type: entities
        },
      
         currency:{
          id: 682,
          type: currencies
        },
      
        details:{
          id: 482,
          type: details
        },
      
        quotations:{
          id: 366,
          type: quotations
        },
      
        Invoices:{
          id: 928,
          type: Invoices
        },
      
         receipt:{
          id: 513,
          type: receipts
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/company/{company_id}/orders/{orders_id}

POST http://api.multinexo.com/v1/company/{company_id}/orders/

Special entry points

GET […]/v1/companies/{company_id}/quotations/{quotation_id}/pdf