partner_id_from_creditor_no

Retrieves a partner ID from a creditor no.

Example

1
2
{{ '123' | partner_id_from_creditor_no }} => 123
{{ '345' | partner_id_from_creditor_no }} => null

Input

Type Parameter Description Required
string creditorNo The debtor no to retrieve the partner ID for. Comes before the | sign. Required

Output

Type Description
mixed The partner ID or null if not found