GET https://service.runmyaccounts.com/api/latest/clients/{clientname}/invoices/{invoice_number}/pdf
GET https://service.runmyaccounts.com/api/latest/clients/{clientname}/invoices/{invoice_number}/html
Parameters/filters:
| Parameter | Description | Default |
|---|---|---|
| formname | For debtor invoices (with items/parts/articles): invoice, remittance_voucher, packing_list, pick_list
For debtor transactions (without items/parts/articles): transaction, remittance_voucher |
|
| language_code | Specific language code. Otherwise default template language will be used. |
Parameters are added as follows:
…/pdf?formname=invoice&language_code=de&api_key=…
Example
- PDF of invoice: https://service.runmyaccounts.com/api/latest/clients/apitest/invoices/R-002/pdf?api_key=d1bvbxkI8f1bnMBJ4sZiC-xupl4fOEzf
- PDF of first reminder: https://service.runmyaccounts.com/api/latest/clients/apitest/invoices/R-002/pdf?api_key=d1bvbxkI8f1bnMBJ4sZiC-xupl4fOEzf&formname=reminder1
- HTML of invoice: https://service.runmyaccounts.com/api/latest/clients/apitest/invoices/R-002/html?api_key=d1bvbxkI8f1bnMBJ4sZiC-xupl4fOEzf
