Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accounting paymentsAll invoice_number filter does not work #163

Open
lazjake opened this issue Jan 8, 2024 · 0 comments
Open

Accounting paymentsAll invoice_number filter does not work #163

lazjake opened this issue Jan 8, 2024 · 0 comments

Comments

@lazjake
Copy link

lazjake commented Jan 8, 2024

The types suggest that payments can be filtered by invoice_number

 * @export
 * @interface PaymentsFilter
 */
export interface PaymentsFilter {
    /**
     * Invoice number for payments to filter on
     * @type {string}
     * @memberof PaymentsFilter
     */
    invoice_number?: string;
}

However, the response when using the filter is an error

{
  "status_code": 400,
  "error": "Bad Request",
  "type_name": "RequestValidationError",
  "message": "Request Validation Error",
  "detail": {
    "errors": [
      {
        "message": "'invoice_number' property is not expected to be here",
        "suggestion": "Did you mean property 'updated_since'?",
        "path": "request.query.filter",
        "context": {
          "errorType": "additionalProperties"
        }
      }
    ]
  },
  "ref": "https://developers.apideck.com/errors#requestvalidationerror"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant