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

details resource

Attributes

qty
create, read, update
cost
create, read, update
net
create, read, update
price
create, read, update
use_net_for_calculation
create, read, update
commission
read
product_name
read
subdist_price
read
document_id
read
sort
read

Relationships

product
has one
order
has one

JSON Resource Example

  {
    data: {
      type: details,
      id: 358,
      attributes: {
        qty: someValue,
        cost: someValue,
        net: someValue,
        price: someValue,
        use_net_for_calculation: someValue,
        commission: someValue,
        product_name: someValue,
        subdist_price: someValue,
        document_id: someValue,
        sort: someValue
        },
      relationships: { 
         product:{
          id: 211,
          type: products
        },
      
         order:{
          id: 248,
          type: orders
        }
      }
    }
  }

Special entry points from quotations

DELETE PATCH GET […]/v1/companies/{company_id}/quotations/{document_id}/details/{detail_id}
POST GET […]/v1/companies/{company_id}/quotations/{document_id}/details/

Special entry points from orders

DELETE PATCH GET […]/v1/companies/{company_id}/orders/{document_id}/details/{detail_id}
POST GET […]/v1/companies/{company_id}/orders/{document_id}/details/

Special entry points from invoices

DELETE PATCH GET […]/v1/companies/{company_id}/invoices/{document_id}/details/{detail_id}
POST GET […]/v1/companies/{company_id}/invoices/{document_id}/details/

Deprecar los puntos de entrada anteriores luego de: API-652