我尝试了几种方法但没有进展。这是我的发票标记脚本。
<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>
我能够收到邮件,但它不会自动添加到我的谷歌日历。谢谢。
AFAIK,这不会作为事件添加到您的日历中。它只会在您的电子邮件中添加有关付款的嵌入信息。
如上图所示,Google文档中的图片显示了Google Inbox中的发票电子邮件。
您可以尝试使用event reservation架构,这会自动将事件添加到您的日历中。