Global API
Request
Purchase Order
3 min
when requesting a po, use the requestjson to pass the po data, and the response will have responsejson which stores the pos response returned by xero the purchase order object has the following parameters purchase order field name data type description contact contact docid\ xpsz7qutzphbpo3vustz the id (unique xero id) for the referenced customer datestring string date purchase order was issued datevariable string date purchase order was issued deliverydate date date purchase order is due status string status of the purchase order lineamounttypes string type of amounts like tax exclusive,inclusive and no tax lineitems https //docs breadwinner com/xero/purchase order#xj lineitem individual line items of a transaction subtotal decimal total of invoice excluding taxes totaltax decimal total tax on purchase order total decimal total of purchase order tax inclusive currencycode string the currency that purchase order has been raised in currencyrate decimal the currency rate for a multicurrency purchase order purchaseorderid string unique identifier for this object and readonly field purchaseordernumber string unique alpha numeric code identifying purchase order reference string additional reference number brandingthemeid string deliveryaddress string attentionto string deliveryinstructions string telephone string salesforce account id string to link purchase order with salesforce account salesforce opportunity id string to link purchase order with salesforce opportunity lineitem field name data type description itemcode string code of the product description string description of the line item taxtype string accountcode string lineitemid string unitamount decimal quantity decimal discountrate decimal tracking https //docs breadwinner com/xero/purchase order#qe trackingcategory trackingcategory field name data type description name string option string trackingcategoryid string