CreatePurchaseOrder

Allows you to add purchase orders. To learn more about purchase orders in Xero visit the Xero Business Help Centrearrow-up-right.

Properties

Authentication

Authentication values used to connect to the Xero server.

PurchaseOrder

Purchase order to create.

Mandatory fields:

  • Contact: You need to provide the ContactID or ContactNumber of an existing contact. For more information on creating contacts see CreateContact.

  • LineItems: The LineItems collection can contain any number of individual LineItem sub-elements. At least one LineItem is required to create a complete PurchaseOrder.

Output

PurchaseOrder

The purchase order created.