API Invoice_Search

Hello

Is there a way to only show UNPAID,PAIDFULL,PAIDPART and SENT when using Invoice_Search? (I do not want to see DRAFT)

{
  "payload": {
    "Header": {
      "MessageType": "Request",
      "SubmissionNumber": "xxxxxxxx",
      "Authentication": {
        "AccNumber": "xxxxxxxx",
        "MD5Value": "xxxxxxxx",
        "ApplicationID": "xxxxxxxx"
      }
    },
    "Body": {
      "SearchParameters": {
        "ReturnCount": "10",
        "Offset": "0",
        "OrderResultsBy": "IssueDate",
        "OrderDirection": "DESC",
        "InvoiceType": "INVOICE",
        "ShowDeleted": "false",
        "ClientDetails": { "ClientID": "xxxxxxx" },
        "Status": "[UNPAID,PAIDFULL,PAIDPART,SENT]"
      }
    }
  }
}

Hi @syntaxlink

This isn’t possible at the moment, but I’ve moved this to a feature request to be considered as part of future development.

1 Like

Your API is missing some more advanced features in the lines of preprocessing. This is making the API calls heavier.

I would love to see some future development on your API to increase it’s already quite good abilities.

For now I’ve just included this in post processing, so I receive all invoices including the drafts and I just exclude them on our end.