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
TestMode
Test mode set as true will make no database modifications.
boolean
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 of "API Key, Password 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
ecVatExempt
boolean
Set to true if the invoice is being made to an overseas client (VAT Registered) within the EC and you are exempting VAT.
Notes
InvoiceLines
ItemLine
500
Purchase Invoice item line type.
ItemNominalCode
Nominal Code (e.g. 5000 - General Purchases)
string
Maximum length: 5
Minimum length: 2
ItemDescription
Item Description (Long).
string
Maximum length: 500
SubTotal
double
The line total before VAT
VatRate
double
The VAT rate to be applied. For non-VAT Reg suppliers use 0.00
VatTotal
double
Overrides the VAT Rate for specific VAT amounts. If missing will be calculated from the rate.
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 © 2019
QuickFile Accounting | Community | Knowledgebase