---
title: "API Test Cases - F24 Orders"
description: "This article provides a series of test cases for the APIs of the F24 Order Payments by Banca Sella."
url: "https://docs.fabrick.com/payment-institution/banking-as-a-service/f24/api-test-cases-f24-orders/"
language: "it"
---

# API Test Cases - F24 Orders

This article provides a series of test cases for the APIs of the F24 Order Payments by Banca Sella.

## TEST CASE 1

API Endpoint:

- POST Create F24-Simple Order
- POST Validate F24-Simple Order

Notes:

- TARI - Tassa sui Rifiuti - Articolo 1, comma 639, Legge 147 del 27/12/2013
- TARES - Articolo 14, Decreto Legge n. 201 del 6/12/2011

Valid for natural person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 150.80,
  "currency": "EUR",
  "payer": {
    "name": "Mario",
    "surname": "Rossi",
    "fiscalCode": "RSSMRA80A01F205X",
    "birthDate": "1980-01-01",
    "birthPlace": "MILANO",
    "birthProvince": "MI",
    "sex": "M",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "taxList": [
    {
      "section": "EL",
      "taxCode": "3944",
      "receiverCode": "D933",
      "referenceMonth": "0104",
      "referenceYear": "2018",
      "taxAmount": 1
    }
  ]
}
```

## TEST CASE 2

API Endpoint:

- POST Create F24-Simple Order
- POST Validate F24-Simple Order

Notes:

- IMU - Imposta Municipale Propria - Sanzioni da accertamento - Comune

Valid for natural person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 1,
  "currency": "EUR",
  "payer": {
    "name": "Mario",
    "surname": "Rossi",
    "fiscalCode": "RSSMRA80A01F205X",
    "birthDate": "1980-01-01",
    "birthPlace": "MILANO",
    "birthProvince": "MI",
    "sex": "M",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "taxList": [
    {
      "section": "EL",
      "taxCode": "3924",
      "receiverCode": "A849",
      "isAmendment": false,
      "isRealEstateVariation": false,
      "isDeposit": true,
      "isFinalPayment": false,
      "realEstateCount": 2,
      "referenceMonth": "",
      "referenceYear": "2020",
      "deductionAmount": 0,
      "taxAmount": 150.80,
      "compensationAmount": 0
    }
  ]
}
```

## TEST CASE 3

API Endpoint:

- POST Create F24-Simple Order
- POST Validate F24-Simple Order

Notes:

- IRPEF Acconto prima rata

Valid for natural person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 100,
  "currency": "EUR",
  "payer": {
    "name": "Mario",
    "surname": "Rossi",
    "fiscalCode": "RSSMRA80A01F205X",
    "birthDate": "1980-01-01",
    "birthPlace": "MILANO",
    "birthProvince": "MI",
    "sex": "M",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "taxList": [
    {
      "section": "ER",
      "taxCode": "4033",
      "referenceMonth": "0106",
      "referenceYear": "2020",
      "taxAmount": 100
    }
  ]
}
```

## TEST CASE 4

API Endpoint:

- POST Create F24-Simple Order
- POST Validate F24-Simple Order

Notes:

- Addizionale regionale all'imposta sul reddito delle persone fisiche

Valid for natural person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 100,
  "currency": "EUR",
  "payer": {
    "name": "Mario",
    "surname": "Rossi",
    "fiscalCode": "RSSMRA80A01F205X",
    "birthDate": "1980-01-01",
    "birthPlace": "MILANO",
    "birthProvince": "MI",
    "sex": "M",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "taxList": [
    {
      "section": "RG",
      "taxCode": "3801",
      "receiverCode": "08",
      "referenceMonth": "0106",
      "referenceYear": "2020",
      "taxAmount": 100
    }
  ]
}
```

## TEST CASE 5

API Endpoint:

- POST Create F24-Simple Order
- POST Validate F24-Simple Order

Notes:

- Tari - Tassa sui Rifiuti - Articolo 1, comma 639, Legge 147 del 27/12/2013
- Tares - Articolo 14, Decreto Legge n. 201 del 6/12/2011

Valid for legal person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 120.5,
  "currency": "EUR",
  "operationCode": "123456789012345678",
  "payer": {
    "businessName": "FABRICK SPA",
    "fiscalCode": "02654890025",
    "birthDate": "",
    "birthPlace": "",
    "birthProvince": "",
    "sex": "",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "payerAgent": null,
  "taxList": [
    {
      "section": "EL",
      "taxCode": "3944",
      "receiverCode": "D933",
      "isAmendment": false,
      "isRealEstateVariation": false,
      "isDeposit": false,
      "isFinalPayment": false,
      "realEstateCount": 1,
      "referenceMonth": "0104",
      "referenceYear": "2018",
      "deductionAmount": 0,
      "taxAmount": 120.5,
      "compensationAmount": 0
    }
  ]
}
```

## TEST CASE 6

API Endpoint:

- POST Create F24 Order
- POST Validate F24 Order

Notes:

- Sanzione addizionale comunale all'IRPEF - Ravvedimento

Valid for natural person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 1200.80,
  "currency": "EUR",
  "operationCode": "",
  "isDifferentYear": false,
  "payer": {
    "name": "Mario",
    "surname": "Rossi",
    "businessName": "",
    "fiscalCode": "RSSMRA80A01F205X",
    "birthDate": "1980-01-01",
    "birthPlace": "MILANO",
    "birthProvince": "MI",
    "sex": "M",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "taxes": {
    "imu": {
      "officeCode": "",
      "deedCode": "",
      "taxList": [
        {
          "taxCode": "8926",
          "receiverCode": "H501",
          "referenceYear": "2020",
          "taxAmount": 1200.80
        }
      ]
    }
  }
}
```

## TEST CASE 7

API Endpoint:

- POST Create F24 Order
- POST Validate F24 Order

Notes:

- IRPEF saldo

Valid for legal person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 125,
  "currency": "EUR",
  "operationCode": "",
  "isDifferentYear": false,
  "payer": {
    "businessName": "FABRICK SPA",
    "fiscalCode": "02654890025",
    "birthDate": "",
    "birthPlace": "",
    "birthProvince": "",
    "sex": "",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "payerAgent": null,
  "taxes": {
    "erario": {
      "officeCode": "",
      "deedCode": "",
      "taxList": [
        {
          "taxCode": "4001",
          "referenceMonth": "0101",
          "referenceYear": "2018",
          "taxAmount": 125,
          "compensationAmount": null
        }
      ]
    }
  }
}
```

## TEST CASE 8

API Endpoint:

- POST Create F24 Order
- POST Validate F24 Order

Notes:

- Contributi Obbligatori - Gestione Separata INPGI - Articolo 1, Comma 80, Lettera a), Legge 247/2007

Valid for legal person

```text
{
  "executionDate": "2020-06-29",
  "documentAmount": 450,
  "currency": "EUR",
  "operationCode": "",
  "isDifferentYear": false,
  "payer": {
    "businessName": "FABRICK SPA",
    "fiscalCode": "02654890025",
    "birthDate": "",
    "birthPlace": "",
    "birthProvince": "",
    "sex": "",
    "address": {
      "address": "VIA DEI FORI IMPERIALI 4",
      "city": "ROMA",
      "province": "RM"
    }
  },
  "payerAgent": null,
  "taxes": {
    "otherTaxes": {
      "officeCode": "",
      "deedCode": "",
      "taxList": [
        {
          "taxCode": "CGS1",
          "institutionCode": "P",
          "identificationCode": "00130",
          "referenceMonth": "03",
          "referenceYear": "2020",
          "taxAmount": 450
        }
      ]
    }
  }
}
```
