def METHOD_NAME(
        client, org_martigny, vendor2_martigny, acq_invoice_fiction_saxon,
        json_header):
    """Test record retrieval."""
    # Create record / POST
    item_url = url_for('invenio_records_rest.acin_item', pid_value='1')
    list_url = url_for('invenio_records_rest.acin_list', q='pid:1')
    acq_invoice_fiction_saxon['pid'] = '1'
    res, data = postdata(
        client,
        'invenio_records_rest.acin_list',
        acq_invoice_fiction_saxon
    )
    assert res.status_code == 201
    # Check that the returned record matches the given data
    assert data['metadata'] == acq_invoice_fiction_saxon
    res = client.get(item_url)
    assert res.status_code == 200
    data = get_json(res)
    assert acq_invoice_fiction_saxon == data['metadata']
    # Update record/PUT
    data = acq_invoice_fiction_saxon
    data['invoice_number'] = 'IN-TEST-2'
    res = client.put(
        item_url,
        data=json.dumps(data),
        headers=json_header
    )
    assert res.status_code == 200
    # Check that the returned record matches the given data
    data = get_json(res)
    assert data['metadata']['invoice_number'] == 'IN-TEST-2'
    res = client.get(item_url)
    assert res.status_code == 200
    data = get_json(res)
    assert data['metadata']['invoice_number'] == 'IN-TEST-2'
    res = client.get(list_url)
    assert res.status_code == 200
    data = get_json(res)['hits']['hits'][0]
    assert data['metadata']['invoice_number'] == 'IN-TEST-2'
    # Delete record/DELETE
    res = client.delete(item_url)
    assert res.status_code == 204
    res = client.get(item_url)
    assert res.status_code == 410