Invoices - OBSOLETE API
List Invoices
URL
https://dev.v3manager.com/demo/api/invoice
HTTP Method
GET
Example
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/invoice"
Count Invoices
URL
https://dev.v3manager.com/demo/api/invoice/count
HTTP Method
GET
Sum Invoices
URL
https://dev.v3manager.com/demo/api/invoice/sum
HTTP Method
GET
Example
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/invoice/sum?field=total&search=["created",">","05-07-2023"]"
Encoded:
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/invoice/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"
Parameters
Name |
Type |
Required |
field |
string |
yes |
filter |
array |
no |
Load Invoice by id
URL
https://dev.v3manager.com/demo/api/invoice/:id
HTTP Method
GET
Example
curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/invoice/22"
Create or update Invoices
URL
https://dev.v3manager.com/demo/api/invoice
HTTP Method
POST
Fields
Name |
Label |
Data type |
Readonly |
Descrition |
updateUserName |
Updated by |
string |
No |
|
updateUser |
Updated by |
int |
Yes |
|
street |
Street |
string |
No |
|
street2 |
Street 2 |
string |
No |
|
companyStreet2 |
Company street 2 |
string |
No |
|
companyStreet |
Company street |
string |
No |
|
city |
City |
string |
No |
|
companyCity |
Company city |
string |
No |
|
customer |
Customer |
int |
No |
|
customerName |
Customer |
string |
No |
|
paymentCondition |
Payment conditions |
select |
No |
|
online |
Created online |
bool |
Yes |
|
createUserName |
Created by |
string |
No |
|
createUser |
Created by |
int |
Yes |
|
countryIsoCode |
Country |
string |
No |
|
companyCountryIsoCode |
Company Country Code |
string |
No |
|
zipCode |
Zip Code |
string |
No |
|
companyZipCode |
Company Zip Code |
string |
No |
|
discounts |
Discounts |
currency |
Yes |
|
address |
Address |
text |
No |
|
companyAddress |
Company address |
text |
No |
|
companyName |
Company |
string |
No |
|
company |
Company |
int |
No |
|
status |
Status |
select |
Yes |
|
sendStatus |
Shipping status |
select |
Yes |
|
paymentStatus |
Payment status |
select |
Yes |
|
taxExempt |
Tax exempt |
bool |
No |
|
date |
Date |
date |
No |
|
updated |
Update date |
datetime |
Yes |
|
created |
Creation date |
datetime |
Yes |
|
dueDate |
Due date |
date |
No |
|
companyInfo |
Company information |
text |
No |
|
taxNumber |
Tax number |
string |
No |
|
companyTaxNumber |
NIF company |
string |
No |
|
companyName |
Company name |
string |
No |
|
name |
Name or Social reason |
string |
No |
|
number |
Invoice number |
string |
Yes |
|
comments |
Observations |
text |
No |
|
publicComments |
Public comments |
text |
No |
|
paidFor |
Paid to |
int |
No |
|
paidForName |
Paid to |
string |
No |
|
country |
Country |
int |
No |
|
countryName |
Country |
string |
No |
|
countryName |
Country |
string |
No |
|
companyCountry |
Country |
int |
No |
|
companyCountryName |
Country |
string |
No |
|
companyCountryName |
Company country |
string |
No |
|
id |
ID |
int |
Yes |
|
regionName |
Region |
string |
No |
|
companyRegionName |
Company region |
string |
No |
|
counter |
Serie |
int |
No |
|
counterFormat |
Serie |
string |
No |
|
companyPhone |
Company telephone |
string |
No |
|
footerText |
Invoice footer text |
text |
No |
|
typeName |
Type |
string |
No |
|
type |
Type |
int |
No |
|
total |
Total |
currency |
Yes |
|
totalBeforeTaxes |
Total before taxes |
currency |
Yes |
|
Values for paymentCondition
Value |
Name |
0 |
Early payment |
1 |
15 days |
2 |
30 days |
3 |
60 days |
4 |
90 days |
Values for status
Value |
Name |
0 |
Draft |
1 |
Confirmed |
2 |
Cancelled |
Values for sendStatus
Value |
Name |
1 |
Pending Shipping |
2 |
Sent |
3 |
Shipping error |
Values for paymentStatus
Value |
Name |
0 |
Not paid |
1 |
Partially paid |
2 |
Paid |