應付憑據

使用這種類型嵌入付款發票的相關資訊。

用途

以下使用案例是 Invoice 架構的常見使用範例。請參考這些範例,確保標記結構正確。

自動付款的月結單

以下是使用「Invoice」類型標記的範例,在本例中指定了自動付款。

JSON-LD

<script type='application/ld+json'>
{
  "@context": "http://schema.org",
  "@type": "Invoice",
  "accountId": "123-456-789",
  "minimumPaymentDue": {
    "@type": "PriceSpecification",
    "price": "$70.00"
  },
  "paymentDue": "2015-11-22T08:00:00+00:00",
  "paymentStatus": "PaymentAutomaticallyApplied",
  "provider": {
    "@type": "Organization",
    "name": "Mountain View Utilities"
  },
  "totalPaymentDue": {
    "@type": "PriceSpecification",
    "price": "$70.00"
  }
}
</script>

微資料

<div itemscope itemtype="http://schema.org/Invoice">
  <span itemprop="accountId">123-456-789</span>
  <div itemprop="minimumPaymentDue" itemscope itemtype="http://schema.org/PriceSpecification">
    <span itemprop="price">$70.00</span>
  </div>
  <span itemprop="paymentDue">2015-11-22T08:00:00+00:00</span>
  <span itemprop="paymentStatus">PaymentAutomaticallyApplied</span>
  <div itemprop="provider" itemscope itemtype="http://schema.org/Organization">
    <span itemprop="name">Mountain View Utilities</span>
  </div>
  <div itemprop="totalPaymentDue" itemscope itemtype="http://schema.org/PriceSpecification">
    <span itemprop="price">$70.00</span>
  </div>
</div>

測試標記

您可以使用電子郵件標記測試工具驗證標記。貼上標記程式碼,然後按一下「驗證」按鈕掃描內容,並取得錯誤報表。

規格

請查看電子郵件詳細資料,確認是否有任何其他屬性適用於您的月結單。標記這些額外屬性,可讓 Google 顯示更豐富的發票說明。

應付憑據

類型名稱:月結單

擴充無形

名稱 類型 說明
accountId Text 這筆款項將套用的帳戶 ID。
billingPeriod 時間長度 計算月結單時所用的時間間隔。
經紀人 OrganizationPerson 安排買方和賣方交易的實體。在大多數情況下,經紀人不會取得或放棄交易中產品或服務的擁有權。如果無法確定實體是經紀人、賣方或買方,建議使用後兩者。
category PhysicalActivityCategoryTextThing 項目的類別。大於符號或斜線可用於非正式地表示類別階層。
confirmationNumber Text 確認已收到指定訂單或款項的號碼。
客戶 OrganizationPerson 下單或支付月結單費用的當事人。
minimumPaymentDue PriceSpecification 目前必須支付的最低金額。
paymentDue DateTime 付款截止日期。
paymentMethod PaymentMethod 訂單的信用卡或其他付款方式名稱。
paymentMethodId Text 所用付款方式的 ID (例如信用卡末 4 碼)。
paymentStatus Text 付款狀態:月結單款項是否已結清。
供應商 OrganizationPerson 提供預訂項目的機構。
referencesOrder 訂購 與這份月結單相關的訂單。一或多個訂單可合併為單一月結單。
scheduledPaymentDate 日期 預計支付月結單款項的日期。
totalPaymentDue PriceSpecification 應付總額。