Basic Information

appmixer.xero.accounting.CreatePurchaseOrder

1.0.0

Public

Create a purchase order.

Input Ports

in

FieldTypeDescription
Tenant ID text -
Contact ID text The ID of the contact (supplier) for this purchase order. See Contacts
Line Items textarea JSON array of line items. Example: [{"Description":"Office supplies","Quantity":10,"UnitAmount":5.00,"AccountCode":"300"}]. See Purchase Orders
Date date-time Date purchase order was issued – YYYY-MM-DD
Delivery Date date-time Date the goods are to be delivered – YYYY-MM-DD
Line Amount Types select Line amounts are exclusive of tax by default if you don't specify this element. See Line Amount Types
Purchase Order Number text Unique alpha numeric code identifying the purchase order (when missing will auto-generate from your Organisation settings)
Reference text Additional reference number
Status select See Purchase Order Status Codes
Currency Code select 3 letter alpha code for the currency – see Currency Codes
Currency Rate number The currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used.
Sent To Contact toggle Boolean to set whether the purchase order in the Xero app should be marked as sent. This can be set only on purchase orders that have been approved.
Delivery Address textarea The address the goods are to be delivered to
Attention To text The person that the delivery is going to
Telephone text The phone number for the person accepting the delivery
Delivery Instructions textarea A free text field for instructions
Expected Arrival Date date-time The date the goods are expected to arrive – YYYY-MM-DD
Branding Theme ID text See Branding Themes
Url text URL link to a source document

Output Ports

out

FieldTypeDescription
Purchase Order ID -
Purchase Order Number -
Reference -
Type -
Status -
Contact -
Date -
Date String -
Delivery Date -
Delivery Date String -
Line Amount Types -
Line Items -
Sub Total -
Total Tax -
Total -
Total Discount -
Currency Code -
Currency Rate -
Updated Date UTC -
Has Attachments -
Has Errors -
Is Discounted -
Branding Theme ID -
Url -
Sent To Contact -
Delivery Address -
Attention To -
Telephone -
Delivery Instructions -
Expected Arrival Date -

Full Metadata