Google电子邮件标记发票类型未显示在日历中

问题描述 投票:0回答:1

我尝试了几种方法但没有进展。这是我的发票标记脚本。

<script type="application/ld+json">
    {
    "@context": "http://schema.org/Invoice",
    "@type": "Invoice",
    "description": "August 2018 Invoice Pending",
    "url": "www.abc.com",
    "accountId": "xxxx-xxxx-xxxx-1234",
    "potentialaction": {
      "url": "www.xyz.com",
      "@type": "PayAction"
    },
    "paymentDue": "2018-09-08",
    "minimumPaymentDue": {
      "@type": "PriceSpecification",
      "price": "1000.00"
    },
    "totalPaymentDue": {
      "@type": "PriceSpecification",
      "price": "2000.00"
    },
    "paymentStatus": "payment due",
    "provider": {
      "@type": "Organization",
      "name": "XYZ"
      }
}
</script>

我能够收到邮件,但它不会自动添加到我的谷歌日历。谢谢。

html email google-calendar-api schema.org google-schemas
1个回答
0
投票

AFAIK,这不会作为事件添加到您的日历中。它只会在您的电子邮件中添加有关付款的嵌入信息。

enter image description here

如上图所示,Google文档中的图片显示了Google Inbox中的发票电子邮件。

您可以尝试使用event reservation架构,这会自动将事件添加到您的日历中。

© www.soinside.com 2019 - 2024. All rights reserved.