The Purchase invoices API is a background functionality of a web client at Profit365 > Purchase > Invoices.
Content:Resource information
Url |
https://api.profit365.eu/1.6/purchase/invoices
|
Authentication | required |
Access level | company |
Response | JSON / XML |
Class | Business entity |
List invoices
Url |
https://api.profit365.eu/1.6/purchase/invoices/{page} |
||
Method | GET | ||
Params |
|
||
Example | https://api.profit365.eu/1.6/purchase/invoices/1 |
Create new invoice
Url |
https://api.profit365.eu/1.6/purchase/invoices |
Method | POST |
Content | A new invoice data |
Example | POST https://api.profit365.eu/1.6/purchase/invoices
|
Invoice data
partnerId required |
ID of partner. Type: GUID |
request, response |
ordnerId optional |
ID of an ordner where is the invoice stored. Type: GUID |
request, response |
dateCreated required |
Date when invoice was issued (business date not system date) Type: DateTime |
request, response |
recordNumber optional |
A unique number of the invoice. When inserting, empty record number will be generated by the counter. When updating, empty record number wont be generated. Duplicate record number will be denied. Type: String |
request, response |
externalRecordNumber optional |
An external number of the invoice which is used by your supplier who has issued the invoice. Type: String |
request, response |
partner optional |
Name of partner or organization. Type: String |
request, response |
partnerId optional |
Customer ID from a business partners list Type: GUID |
request, response |
partner optional |
Billing address / info of a partner Type: String |
request, response |
dateValidTo optional |
Date of invoice validating date. Type: DateTime |
request, response |
dateAccounting optional |
A accounting date for the invoice. A period, when not set, is selected by dateAccounting. Type: DateTime |
request, response |
dateDelivery optional |
A delivery date for the invoice. VAT Period is generated by dateDelivery. Type: DateTime |
request, response |
periodId optional |
A accounting period for the invoice. If not set, system will find period by date Accounting. Type: DateTime |
request, response |
currency1 optional |
Currency type of invoice. Type: String |
request, response |
rows optional |
Array of invoice rows. Parameters for insert are listed here Type: Rows |
request |
Invoice Rows parameters
itemId optional |
ID of item in row. Type: GUID |
request, response |
itemsAmount required |
Count of purchased item. (Nullable) Type: Decimal |
request, response |
code optional |
Code of purchased item. Type: String |
request, response |
name required |
Name of purchased item. Type: String |
request, response |
description optional |
Description of purchased item. Type: String |
request |
bonus optional |
Bonus price of purchased item. Type: Decimal |
request |
bonusPercent optional |
Percent of bonus price of purchased item. Type: Decimal |
request |
price required |
Price without bonus percent of purchased item. Type: Decimal |
request |
localSum optional |
Local sum of purchased item. Type: Decimal |
request |
sum optional |
Sum of purchased item. Type: Decimal |
request, response |
- Pubished at 4/27/2016 10:14:42 AM
- Last edited 10/6/2020 11:50:23 AM