Link Search Menu Expand Document

List of Document Parser Special Functions

Here are the list of Special Functions and their uses:

  • $$funcFindCompany
  • $$funcFindCompanyNext
  • $$funcFindMaxNumber
  • $$funcFindMaxDate
  • $$funcFindMinDate

$$funcFindCompany

This searches for the company name. The Document Parser contains a large embedded list of existing companies. If company name from this list is not found, the function tries to detect company name by typical postfix like “Ltd.”, “Inc.”, “Corp.”, etc.

funcFindCompany

$$funcFindCompanyNext

This searches for another company name after the position of the first found company name.

funcFindCompanyNext

$$funcFindMaxNumber

This finds maximal number in the text that matches the macro (decimal number with optional currency symbol).

funcFindMaxNumber

$$funcFindMaxDate

This finds maximal date in the text that matches the macro (dates in the most common national formats). This is very useful when looking up the due date of a document.

funcFindMaxDate

$$funcFindMinDate

This finds minimal date in the text. This is very useful when looking up the issued date of a document.

funcFindMinDate

To learn more about the PDF.co Document API, check out our API Docs here.