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

invoices resource

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

Attributes

section
create,read sales | purchases
letter
create, read, update A | B | C | E | X
receipt_type
create,read invoice | debit | credit
receipt_volume
create, read, update
receipt_number
create, read, update
total_commission
create, read, update
net
create, read, update
total
create, read, update
draft
create, read, update
status
create, read, update draft | queued | falied | confirmed
show_amounts
create, read, update true/false
cae READ
create, read, update
cae_expiration_date
create, read, update
observation
create, read, update
pdf_url
read
canceled
create, read, update true | false
fiscal_blocked
create, read, update
fiscal_observation
create, read, update
generate_order WRITE
create, read, update
emission_date
create, read, update datetimew3c
created_at
read datetimew3c
updated_at
read datetimew3c
deleted_at
read datetimew3c

Relationships

entity
has one
details
has many
orders
has many
currency
has one
receipt
has one
fiscalpos
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
letter
equals no acepta varios valores

JSON Resource Example

  {
    data: {
      type: invoices,
      id: 601,
      attributes: {
        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,
        cae READ: someValue,
        cae_expiration_date: someValue,
        observation: someValue,
        pdf_url: someValue,
        canceled: someValue,
        fiscal_blocked: someValue,
        fiscal_observation: someValue,
        generate_order WRITE: someValue,
        emission_date: 2018-08-28T16:31:47+00:00,
        created_at: 2018-08-28T16:31:47+00:00,
        updated_at: 2018-08-28T16:31:47+00:00,
        deleted_at: 2018-08-28T16:31:47+00:00
        },
      relationships: { 
         entity:{
          id: 104,
          type: entities
        },
      
        details:{
          id: 981,
          type: details
        },
      
        orders:{
          id: 244,
          type: orders
        },
      
         currency:{
          id: 909,
          type: currencies
        },
      
         receipt:{
          id: 763,
          type: receipts
        },
      
        fiscalpos:{
          id: 805,
          type: fiscalpos
        }
      }
    }
  }

JSON-API Entry points

PATCH GET http://api.multinexo.com/v1/company/{company_id}/invoices/{invoices_id}

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

Special entry points

GET […]/v1/companies/{company_id}/invoices/{invoice_id}/getCae

GET […]/v1/companies/{company_id}/invoices/{invoices_id}/pdf