Attach PDF to emailed invoices from API

オープン
#536 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
nodejs, typescript
領域
api

調査の方向性

The request is for the emailInvoice call to attach the invoice PDF the way the web interface does. The SDK code is generated from the OpenAPI spec in XeroAPI/Xero-OpenAPI, so the first step is checking whether the spec exposes an attachment option on the invoice email endpoint. The issue gives no file to edit and no test to run, and the fix probably belongs upstream in the spec rather than in this repository. Done would mean the attachment behaviour is available through the SDK, which needs a maintainer decision first.

索引モデルが issue の本文から書いたものです。

説明

SDK you're using (please complete the following information):

  • Version 4..11.0

Is your feature request related to a problem? Please describe.
Attaching PDF to "emailInvoice" API endpoint. We have customers that use automated systems such as Hubdoc which automatically import the PDF from email, but if the invoice was generated via the API, I am unable to attach the PDF to the email, so they have to manually process our invoices, which they are grumpy about.

Describe the solution you'd like
Able to set "Attach PDF" on the API call, and it attach the same PDF as the web interface.

Describe alternatives you've considered
We are looking at generating the PDF manually to just look like the one Xero generates, and attach that document to an email that we generate, but we would have to be really careful to make sure that all the data is identical. And it seems like a lot of work for a feature that should be included.

We considered using the "download PDF" option via the API, but the API version of PDFs don't include custom fonts from the template. When the web version does include our fonts. So we would be forced to use our own PDF generation servers. The custom font is 3of9 for barcodes.

主要言語
TypeScript
スター
264
フォーク
177
平均マージ
10時間 5分
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

XeroAPI/xero-node のほかの issue

XeroAPI/xero-node の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。