PurchaseOrder_Create Schema
Documentation {..} JSON XML
Mandatory field
Optional field
Create or Update a PurchaseOrder Invoice
Header
Document header container
MessageType
string
Enumerated value: Request
Enumerated value: Response
DeviceID
ID of the calling device where applicable. Use for mobile devices such as I-Phones and Android units
string
Minimum length: 0
Maximum length: 100
SubmissionNumber
string
A unique reference used for each API request. The Submission Number is seeded within the Authentication MD5 Value to prevent cloning.
Authentication
Account number, and an MD5 hash "Account number, API Key and Submission Number"
AccNumber
MD5Value
ApplicationID
Unique identiifier for the application making the request. Mandoatory from 10th Dec 2013
string
Minimum length: 1
Maximum length: 100
Body
PurchaseOrderData
PurchaseOrderID
integer
If PurchaseOrderID is supplied an update will be applied to the existing invoice. If no PurchaseOrderID is supplied a new invoice will be created.
PurchaseOrderNumber
SupplierID
integer
Unique SupplierID.
ReceiptDate
date
Date invoice was issued
Currency
ISO 4217 Currency Code.
string
Maximum length: 3
InvoiceDescription
A brief description of the invoice raised. If not supplied will assume the description of the first invoice item/task.
string
Maximum length: 35
Minimum length: 2
Notes
InvoiceLines
ItemLine
500
PurchaseOrderItemLine
Endpoint: https://api.quickfile.co.uk/1_2/purchaseorder/create
Example Request:
We had a problem retrieving a JSON sample for this method, please retry later
Example Response:
Example Request:
We had a problem retrieving an XML sample for this method, please retry later
Example Response:
Other PurchaseOrder Methods
Create a new purchase order record
Quick File Limited - Copyright © 2024
QuickFile Accounting | Community | Knowledgebase