def METHOD_NAME(
        client, librarian_martigny, acq_invoice_fiction_martigny,
        acq_invoice_fiction_saxon, librarian_sion,
        acq_invoice_fiction_sion):
    """Test acquisition invoices filter by organisation."""
    list_url = url_for('invenio_records_rest.acin_list')
    res = client.get(list_url)
    assert res.status_code == 401
    # Martigny
    login_user_via_session(client, librarian_martigny.user)
    list_url = url_for('invenio_records_rest.acin_list')
    res = client.get(list_url)
    assert res.status_code == 200
    data = get_json(res)
    assert data['hits']['total']['value'] == 2
    # Sion
    login_user_via_session(client, librarian_sion.user)
    list_url = url_for('invenio_records_rest.acin_list')
    res = client.get(list_url)
    assert res.status_code == 200
    data = get_json(res)
    assert data['hits']['total']['value'] == 1