---
title: Bills and Purchase Orders
slug: xero/bills-and-purchase-orders
description: Learn how to efficiently generate Bills, Purchase Orders, and Invoices through the Breadwinner tab in the Configuration section. Access URL links and field specifications to streamline the process of creating Bills and Purchase Orders. Discover how the in
docTags: 
createdAt: 2021-11-05T07:17:08.000Z
---

You can create Bills and Purchase Orders as well as Invoices. Before you start creating a Bill or Purchase Order, make sure you have enabled Bills and POs from the Breadwinner tab under the Configuration section.&#x20;

:::CodeblockTabs
Button URL

```css
/apex/bread_winner__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&invoice_type=bill
```
:::

Above we specify “\&invoice\_type=bill”, but you may also specify “purchaseorder” to generate a Purchase Order. You do not need to specify “invoice” as this is the default, but you may if you wish.

### Specifying Bill or Purchase Order Specific fields

You do not need a different field for dates, as invoice\_date will be the date field for Bills and Purchase Orders.

However, Purchase Orders have additional fields that are not used anywhere else.

:::CodeblockTabs
Button URL

```css
/apex/bread_winner__NewInvoicePage
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&type=purchaseorder
&delivery_address=delivery_address__c
&attention=attention_field__c
&po_telephone=delivery_phone_field__c
&delivery_instructions=delivery_info__c
```
:::

###

