POST api/Invoice

Post list of bills.

Request Information

URI Parameters

None.

Body Parameters

Collection of ApiInvoiceInput
NameDescriptionTypeAdditional information
id

integer

None.

id_fp_income

integer

None.

income_name

You can use string to find income by name

string

None.

seria

string

None.

number

string

None.

description

string

None.

id_company

integer

None.

id_paymend_metod

Payment type, null or id

integer

None.

id_currency

Currency

integer

None.

outer_id_company

We will find company by outer id ID id_company is null

string

None.

total_without_amount

decimal number

None.

total_vat_amount

decimal number

None.

total_amount

decimal number

None.

is_deleted

boolean

None.

outer_id

string

None.

id_person

integer

None.

date

date

None.

estimated_payment_date

date

None.

planned_date

date

None.

detail

Collection of Details

None.

customMasterFields

ApiMasterFields

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "id_fp_income": 1,
    "income_name": "sample string 2",
    "seria": "sample string 3",
    "number": "sample string 4",
    "description": "sample string 5",
    "id_company": 1,
    "id_paymend_metod": 1,
    "id_currency": 1,
    "outer_id_company": "sample string 6",
    "total_without_amount": 7.0,
    "total_vat_amount": 8.0,
    "total_amount": 9.0,
    "is_deleted": true,
    "outer_id": "sample string 11",
    "id_person": 1,
    "date": "2024-11-16T04:25:36.9342277+00:00",
    "estimated_payment_date": "2024-11-16T04:25:36.9342277+00:00",
    "planned_date": "2024-11-16T04:25:36.9342277+00:00",
    "detail": [
      {
        "id": 1,
        "count": 2.0,
        "id_stock_card": 3,
        "price": 4.0,
        "vat_value": 5.0,
        "delete": true
      },
      {
        "id": 1,
        "count": 2.0,
        "id_stock_card": 3,
        "price": 4.0,
        "vat_value": 5.0,
        "delete": true
      }
    ],
    "customMasterFields": {
      "_fields": [
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:25:36.9342277+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            }
          ]
        },
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:25:36.9342277+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            }
          ]
        }
      ]
    }
  },
  {
    "id": 1,
    "id_fp_income": 1,
    "income_name": "sample string 2",
    "seria": "sample string 3",
    "number": "sample string 4",
    "description": "sample string 5",
    "id_company": 1,
    "id_paymend_metod": 1,
    "id_currency": 1,
    "outer_id_company": "sample string 6",
    "total_without_amount": 7.0,
    "total_vat_amount": 8.0,
    "total_amount": 9.0,
    "is_deleted": true,
    "outer_id": "sample string 11",
    "id_person": 1,
    "date": "2024-11-16T04:25:36.9342277+00:00",
    "estimated_payment_date": "2024-11-16T04:25:36.9342277+00:00",
    "planned_date": "2024-11-16T04:25:36.9342277+00:00",
    "detail": [
      {
        "id": 1,
        "count": 2.0,
        "id_stock_card": 3,
        "price": 4.0,
        "vat_value": 5.0,
        "delete": true
      },
      {
        "id": 1,
        "count": 2.0,
        "id_stock_card": 3,
        "price": 4.0,
        "vat_value": 5.0,
        "delete": true
      }
    ],
    "customMasterFields": {
      "_fields": [
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:25:36.9342277+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            }
          ]
        },
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:25:36.9342277+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:25:36.9342277+00:00",
                "due_date": "2024-11-16T04:25:36.9342277+00:00",
                "complete_date": "2024-11-16T04:25:36.9342277+00:00"
              },
              "is_mark_delete": true
            }
          ]
        }
      ]
    }
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.