eg-0374
From
v29.4
JSON-LD
{
"@context": "https://schema.org/",
"@type": "Invoice",
"description": "January 2015 Visa bill.",
"url": "http://acmebank.com/invoice.pdf",
"broker": {
"@type": "BankOrCreditUnion",
"name": "ACME Bank"
},
"accountId": "xxxx-xxxx-xxxx-1234",
"customer": {
"@type": "Person",
"name": "Jane Doe"
},
"paymentDueDate": "2015-01-30T12:00:00",
"minimumPaymentDue": {
"@type": "PriceSpecification",
"price": 15.00,
"priceCurrency": "USD"
},
"totalPaymentDue": {
"@type": "PriceSpecification",
"price": 200.00,
"priceCurrency": "USD"
},
"billingPeriod": "P30D",
"paymentStatus": "https://schema.org/PaymentDue"
}RDFa
<div vocab="https://schema.org/" typeof="Invoice">
<h1 property="description">January 2015 Visa</h1>
<a property="url" href="http://acmebank.com/invoice.pdf">Invoice PDF</a>
<div property="broker" typeof="BankOrCreditUnion">
<b property="name">ACME Bank</b>
</div>
<span property="accountId">xxxx-xxxx-xxxx-1234</span>
<div property="customer" typeof="Person">
<b property="name">Jane Doe</b>
</div>
<time property="paymentDueDate">2015-01-30T12:00:00</time>
<div property="minimumPaymentDue" typeof="PriceSpecification">
<span property="price">15.00</span>
<span property="priceCurrency">USD</span>
</div>
<div property="totalPaymentDue" typeof="PriceSpecification">
<span property="price">200.00</span>
<span property="priceCurrency">USD</span>
</div>
<meta property="billingPeriod" content="P30D" />starts:2014-12-21 30 days
<link property="paymentStatus" href="https://schema.org/PaymentDue" />
</div>Microdata
<div itemscope itemtype="https://schema.org/Invoice">
<h1 itemprop="description">January 2015 Visa</h1>
<a itemprop="url" href="http://acmebank.com/invoice.pdf">Invoice PDF</a>
<div itemprop="broker" itemscope itemtype="https://schema.org/BankOrCreditUnion">
<b itemprop="name">ACME Bank</b>
</div>
<span itemprop="accountId">xxxx-xxxx-xxxx-1234</span>
<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">15.00</span>
<span itemprop="priceCurrency">USD</span>
</div>
<div itemprop="totalPaymentDue" itemscope itemtype="https://schema.org/PriceSpecification">
<span itemprop="price">200.00</span>
<span itemprop="priceCurrency">USD</span>
</div>
<meta itemprop="billingPeriod" content="P30D" />starts:2014-12-21 30 days
<link itemprop="paymentStatus" href="https://schema.org/PaymentDue" />
</div>Pre-Markup
An example of a credit card bill (invoice). ACME Bank Bill for: January 2015 Visa invoice link: http://www.acmebank.com/invoice.pdf Customer: Jane Doe account ID: xxxx-xxxx-xxxx-1234 payment due: 2015-01-30 minimum payment: $15.00 total due: $200.00 billing period: 2014-12-21 to 2015-01-20 payment due