
Input
| Name | Description | Required |
|---|---|---|
| Source PDF URL | Provide the URL to the source PDF document, or a filetoken:// link from PDF.co Built-In Files Storage. If you use another cloud service such as Google Drive or Dropbox ensure the link is publicly accessible. Leave this field empty to generate blank PDF files containing barcodes. | Yes |
| customField | Comma-separated list of custom field names to extract. Use camelCase for field names (e.g., storeNumber, deliveryDate). | No |
Source PDF URL & Google
When using Google Drive, it’s typically recommended to choose the File option. For more advanced file integration techniques, see Integrating File Sources with pdf.co.

Custom Fields
AI Invoice Parser with custom fields support automatically detects invoice layouts and extracts both standard schema data and user-specified custom fields without requiring manual templates. ThecustomField parameter allows you to specify additional fields to extract beyond the standard schema. Some examples include:
storeNumber- Store or branch identifierdeliveryDate- Expected delivery datefinancialCharges- Additional financial chargeslineTotal- Total amount for line itemspurchaseOrderRef- Purchase order reference numbercustomerReference- Customer reference numberdepartmentCode- Department or cost center code
If a custom field returns an empty value, please contact our support team to help improve the extraction accuracy.
Output
| Name | Description |
|---|---|
body | An object array containing the all invoice parsing result. |
error | Details of any errors (if any). |
status | The response status code. If all good this will be 200. |
credits | The credits spent on the process. |
remainingCredits | The credits left on your account. |
duration | The time it took for the process. |
pageCount | Total Page Count. |
Supported Languages
- Albanian (Shqip)
- Bosnian (Bosanski)
- Bulgarian (Български)
- Croatian (Hrvatski)
- Czech (Čeština)
- Danish (Dansk)
- Dutch (Nederlands)
- English
- Estonian (Eesti)
- Finnish (Suomi)
- French (Français)
- German (Deutsch)
- Greek (Ελληνικά)
- Hungarian (Magyar)
- Icelandic (Íslenska)
- Italian (Italiano)
- Latvian (Latviešu)
- Lithuanian (Lietuvių)
- Norwegian (Norsk)
- Polish (Polski)
- Portuguese (Português)
- Romanian (Română)
- Russian (Русский)
- Serbian (Српски)
- Slovak (Slovenčina)
- Slovenian (Slovenščina)
- Spanish (Español)
- Swedish (Svenska)
- Turkish (Türkçe)
- Ukrainian (Українська)