Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Accounting paymentsAll invoice_number filter does not work #163

Description

@lazjake

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions