Purchase Order Webhook

Purchase Order Webhook

Purchase Order Webhook

purchase_order.created event

{
id: 1 # unique ID of the purchase order,
supplier: 'Trucks R Us',
vehicle_group: 'Sydney',
purchase_order_date: 2020-01-01,
created_by: 'John Smith',
approved: true,
approved_user: 'Jane Doe',
approved_date: 2020-02-01,
invoice: 'ABC123',
invoice_date: 2020-03-01,
reference_number: 'PO-1234',
instructions: 'Please supply per instructions',
cost: 100.00,
tax: 9.09,
actual_cost: 100.00,
actual_tax: 9.09,
tax_rate: 'Inclusive',
closed: true,
bulk_receive_date: 2020-02-01,
vehicle: 'PM01',
general_ledger_code: '123 - GL Code',
purchase_order_number: 'PO-123',
linked_service: '123',
linked_repair: '123',
linked_tyre: '123',
linked_other: '123',
purchase_order_items: [
{
id: 1,
part_number: 'DSA123',
part_description: 'Oil filters',
quantity: 1,
each_price: 10.00,
total: 10.00,
tax: 9.09,
tax_percent: 10,
tax_rate: 'Inclusive',
tax_code: 'GST Free',
invoice: 'ABC123',
received_quantity: 1,
received_date: 2020-02-01,
site: 'Sydney',
general_ledger_code: '123 - GL Code'
}
]
}

purchase_order.updated event

{
id: 1 # unique ID of the purchase order,
supplier: 'Trucks R Us',
vehicle_group: 'Sydney',
purchase_order_date: 2020-01-01,
created_by: 'John Smith',
approved: true,
approved_user: 'Jane Doe',
approved_date: 2020-02-01,
invoice: 'ABC123',
invoice_date: 2020-03-01,
reference_number: 'PO-1234',
instructions: 'Please supply per instructions',
cost: 100.00,
tax: 9.09,
actual_cost: 100.00,
actual_tax: 9.09,
tax_rate: 'Inclusive',
closed: true,
bulk_receive_date: 2020-02-01,
vehicle: 'PM01',
general_ledger_code: '123 - GL Code',
purchase_order_number: 'PO-123',
linked_service: '123',
linked_repair: '123',
linked_tyre: '123',
linked_other: '123',
purchase_order_items: [
{
id: 1,
part_number: 'DSA123',
part_description: 'Oil filters',
quantity: 1,
each_price: 10.00,
total: 10.00,
tax: 9.09,
tax_percent: 10,
tax_rate: 'Inclusive',
tax_code: 'GST Free',
invoice: 'ABC123',
received_quantity: 1,
received_date: 2020-02-01,
site: 'Sydney',
general_ledger_code: '123 - GL Code'
}
]
}

purchase_order.destroyed event

{
id: 1 # unique ID of the purchase order
}
    • Related Articles

    • Adding a Purchase Order from a Service, Repair and Tyre

      Overview You can create Purchase Orders directly from Service, Repair, or Tyre records. These Purchase Orders will be generated based on the details of the respective Service, Repair, or Tyre, including any Parts added to the associated Workorder. If ...
    • Setting Purchase Order Limits

      Overview Gearbox can restrict Standard Users to individual purchase order expenditure amount. If a users creates a Purchase Order that exceeds their limit, Gearbox users with Admin or Manager permissions in the Parts module will receive an email ...
    • Purchase Orders

      Gearbox uses Purchase Orders to order and receive Parts into Stock. If you do not wish to use the Purchase Order component of Gearbox, the only way to add Stock is through Stock adjustments. Creating a Purchase Order with Parts (Purchase Order Items) ...
    • Gearbox WIISE Integration with Purchase Orders

      Overview Gearbox integrates with WIISE by pushing and updating Purchase Orders created in Gearbox to WIISE. When a Purchase order is completed in Gearbox, the user clicks on Export To WIISE button. If the purchase order is edited after the export, ...
    • Exporting Purchase Orders & Tracking Categories in Xero

      Purpose To provide instructions on how to export Purchase Orders from Gearbox to an integrated Xero system. Xero must be integrated prior to exporting Purchase Orders. Xero has a 30 min timer on session tokens which may result in additional login ...