Skip to content

GetMyInvoicesGetDocumentFiles - GetMyInvoices

← GetMyInvoices Add-On Übersicht

This step fetches the actual PDF-Files of a list of document (by documentUid).


Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

Name Datentyp Beschreibung Pflichtfeld Werte
account ACCOUNT Your GetMyInvoices account. Nein
documentIds SPREADSHEET A spreadsheet with a column of document IDs (documentUid) to fetch their attachments. Ja
mappingdefinition STRING The mapping definition JSON String Ja
Folgende Felder sind zu konfigurieren:

Feld Datentyp Beschreibung Pflichtfeld Standardwert
id SINGLE The ID of the document. Typically the 'documentUid' you are getting from GetMyInvoicesGetDocuments. Nein
filenamepattern STRING Choose how your filename should look. Nein
  • [documentID].pdf
  • [counter]-[company]-[origDocNumber].pdf
  • [counter]-[company]-[origDocNumber]-[documentID].pdf
limit STRING The max. number of API-Calls made. One call just fetches a certain amount of documents. Increase this limit to fetch more documents (more API-Calls will be made). Nein

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

Name Datentyp Beschreibung Werte
pdfFiles FILELIST A list of PDF files. The filename can be configured using the filenamepattern. documentUid is the Id passed in the input Spreadsheet.
filenames SPREADSHEET A spreadsheet you can use to map documentId to the resulting filename.
Folgende Felder sind im Output enthalten:

Feld Datentyp Beschreibung Standardwert
documentUid SINGLE
filename SINGLE