https://dev.v3manager.com/demo/api/sale
GET
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/sale"
https://dev.v3manager.com/demo/api/sale/count
GET
https://dev.v3manager.com/demo/api/sale/sum
GET
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/sale/sum?field=total&search=["created",">","05-07-2023"]"
Encoded:
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/sale/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"
Name | Type | Required |
---|---|---|
field | string | yes |
filter | array | no |
https://dev.v3manager.com/demo/api/sale/:id
GET
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/sale/22"
https://dev.v3manager.com/demo/api/sale
POST
Name | Label | Data type | Readonly | Descrition |
---|---|---|---|---|
discountRate | % Discount | percent | No | |
updateUser | Updated by | int | Yes | |
updateUserName | Updated by | string | No | |
beneficiary | Beneficiary | int | No | |
beneficiaryName | Beneficiary | string | No | |
timeout | Expiration | datetime | No | |
cancelationOf | Cancellation of | int | Yes | |
customer | Customer | int | No | |
customerName | Customer | string | No | |
createUserName | Created by | string | No | |
createUser | Created by | int | Yes | |
customerTaxNumber | ID | string | No | |
description | Description | string | No | |
company | Company | int | No | |
companyName | Company | string | No | |
link | Linked to | int | Yes | |
status | Status | select | Yes | |
taxExempt | Tax exempt | bool | Yes | |
invoiceNumber | Invoice | string | No | |
invoice | Invoice | int | Yes | |
invoiced | Billed | bool | Yes | |
updated | Update date | datetime | Yes | |
created | Creation date | datetime | Yes | |
invoiceDate | Invoice date | date | Yes | |
useDate | Production date | datetime | No | |
dueDate | Due date | date | No | |
taxes | Taxes | SaleTax[] | No | |
parent | Line on which it depends | int | Yes | |
comments | Observations | text | No | |
publicComments | Public comments | text | No | |
online | Online | bool | Yes | |
paidFor | Paid to | int | Yes | |
paidForName | Paid to | string | No | |
allowPaymentPending | Allow pending payment | bool | No | |
price | Unit price | currency | No | |
product | Product | int | No | |
productName | Product | string | No | |
proforma | Proforma | int | Yes | |
proformaNumber | Proforma | string | No | |
id | ID | int | Yes | |
total | Total | currency | No | |
totalBeforeTaxes | Total before taxes | currency | No | |
units | Units | float | No |
Value | Name |
---|---|
0 | Draft |
1 | For free |
2 | Not paid |
3 | Paid |
4 | Cancelled |
5 | Cancellation |