Question

I'm looking to allow a user to enter either the RefNumber or TxnID into a textbox to query for an Invoice. What is the format for a TxnID? I'm considering using a RegEx pattern to determine whether it's a TxnID or not. Thanks!

Was it helpful?

Solution

From the QB OSR...

TxnID is of type IDTYPE An IDTYPE (identifier type) is a string with a theoretical maximum length of 36 digits, though the allowed maximum depends on the situation. An IDTYPE returned from QuickBooks is a concatenation of the object ID and creation time, separated by a hyphen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top