eg-0375
From
v29.4
JSON-LD
{
"@context": "https://schema.org/",
"@type": "Invoice",
"broker": {
"@type": "LocalBusiness",
"name": "ACME Home Heating"
},
"accountId": "xxxx-xxxx-xxxx-1234",
"customer": {
"@type": "Person",
"name": "Jane Doe"
},
"paymentDueDate": "2015-01-30",
"minimumPaymentDue": {
"@type": "PriceSpecification",
"price": 0.00,
"priceCurrency": "USD"
},
"totalPaymentDue": {
"@type": "PriceSpecification",
"price": 0.00,
"priceCurrency": "USD"
},
"paymentStatus": "https://schema.org/PaymentComplete",
"referencesOrder": [
{
"@type": "Order",
"description": "furnace",
"orderDate": "2014-12-01",
"orderNumber": "123ABC",
"paymentMethod": "http://purl.org/goodrelations/v1#ByInvoice",
"orderedItem": {
"@type": "Product",
"name": "ACME Furnace 3000",
"productID": "ABC123"
}
},
{
"@type": "Order",
"description": "furnace installation",
"orderDate": "2014-12-02",
"paymentMethod": "http://purl.org/goodrelations/v1#ByInvoice",
"orderedItem": {
"@type": "Service",
"description": "furnace installation"
}
}
]
}RDFa
<div vocab="https://schema.org/" typeof="Invoice">
<h1 property="description">New furnace and installation</h1>
<div property="broker" typeof="LocalBusiness">
<b property="name">ACME Home Heating</b>
</div>
<div property="customer" typeof="Person">
<b property="name">Jane Doe</b>
</div>
<time property="paymentDueDate">2015-01-30</time>
<div property="minimumPaymentDue" typeof="PriceSpecification">
<span property="price">0.00</span>
<span property="priceCurrency">USD</span>
</div>
<div property="totalPaymentDue" typeof="PriceSpecification">
<span property="price">0.00</span>
<span property="priceCurrency">USD</span>
</div>
<meta itemprop="paymentStatus" content="PaymentComplete" />
<div property="referencesOrder" typeof="Order">
<span property="description">furnace</span>
<time property="orderDate">2014-12-01</time>
<span property="orderNumber">123ABC</span>
<div property="orderedItem" typeof="Product">
<span property="name">ACME Furnace 3000</span>
<meta property="productID" content="ABC123" />
</div>
</div>
<div property="referencesOrder" typeof="Order">
<span property="description">furnace installation</span>
<time property="orderDate">2014-12-02</time>
<div property="orderedItem" typeof="Service">
<span property="description">furnace installation</span>
</div>
</div>
</div>Microdata
<div itemscope itemtype="https://schema.org/Invoice">
<h1 itemprop="description">New furnace and installation</h1>
<div itemprop="broker" itemscope itemtype="https://schema.org/LocalBusiness">
<b itemprop="name">ACME Home Heating</b>
</div>
<div itemprop="customer" itemscope itemtype="https://schema.org/Person">
<b itemprop="name">Jane Doe</b>
</div>
<time itemprop="paymentDueDate">2015-01-30</time>
<div itemprop="minimumPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification">
<span itemprop="price">0.00</span>
<span itemprop="priceCurrency">USD</span>
</div>
<div itemprop="totalPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification">
<span itemprop="price">0.00</span>
<span itemprop="priceCurrency">USD</span>
</div>
<link itemprop="paymentStatus" href="https://schema.org/PaymentComplete" />
<div itemprop="referencesOrder" itemscope itemtype="https://schema.org/Order">
<span itemprop="description">furnace</span>
<time itemprop="orderDate">2014-12-01</time>
<span itemprop="orderNumber">123ABC</span>
<div itemprop="orderedItem" itemscope itemtype="https://schema.org/Product">
<span itemprop="name">ACME Furnace 3000</span>
<meta itemprop="productID" content="ABC123" />
</div>
</div>
<div itemprop="referencesOrder" itemscope itemtype="https://schema.org/Order">
<span itemprop="description">furnace installation</span>
<time itemprop="orderDate">2014-12-02</time>
<div itemprop="orderedItem" itemscope itemtype="https://schema.org/Service">
<span itemprop="description">furnace installation</span>
</div>
</div>
</div>Pre-Markup
An example of a invoice for a purchase and installation. ACME Home Heating Bill for: New furnace and installation Customer: Jane Doe payment due: 2015-01-30 minimum payment: $0.00 total due: $0.00 payment status: paid order: furnace model ABC123 order: installation labor