Lorenzo
12/18/2024, 3:26 PMCeligo AI
12/18/2024, 3:26 PMAI generated answer (using internal Slack threads):Based on the conversations provided, it appears that there isn't a direct way to list available invoice status values through the REST API. However, you can filter invoices by status using the
search.Operator.NONEOF
operator as shown in the second conversation.
Here is the code snippet provided in the conversation:
{
name: 'status',
operator: search.Operator.NONEOF,
values: ['paidInFull', ]
},
This code snippet is used to filter out invoices that are 'paidInFull'. You can replace 'paidInFull' with any other status value you want to exclude from the results.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
12/18/2024, 3:26 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816927731
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.806322336
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803883314
Celigo AI
12/18/2024, 3:26 PM