GET api/Bill/{id}

Fast method to get bill by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiBillOutput
NameDescriptionTypeAdditional information
id

integer

None.

seria

string

None.

number

string

None.

description

string

None.

total_without_amount

decimal number

None.

total_vat_amount

decimal number

None.

total_amount

decimal number

None.

payed_amount

decimal number

None.

remaining_amount

decimal number

None.

is_deleted

boolean

None.

outer_id

string

None.

id_paymend_metod

integer

None.

id_currency

Currency

integer

None.

paymend_metod

info

Object

None.

id_fp_expense

integer

None.

fp_expense

Object

None.

id_company

integer

None.

company

Object

None.

id_person

integer

None.

person

Object

None.

date

date

None.

estimated_payment_date

date

None.

planned_date

date

None.

approvals

Collection of ApiBillApprovalsOutput

None.

payments

Collection of Object

None.

detail

Collection of Object

None.

customMasterFields

ApiMasterFields

None.

url

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "seria": "sample string 2",
  "number": "sample string 3",
  "description": "sample string 4",
  "total_without_amount": 5.0,
  "total_vat_amount": 6.0,
  "total_amount": 7.0,
  "payed_amount": 8.0,
  "remaining_amount": 9.0,
  "is_deleted": true,
  "outer_id": "sample string 11",
  "id_paymend_metod": 1,
  "id_currency": 1,
  "paymend_metod": {},
  "id_fp_expense": 13,
  "fp_expense": {},
  "id_company": 15,
  "company": {},
  "id_person": 17,
  "person": {},
  "date": "2024-11-16T04:25:47.856506+00:00",
  "estimated_payment_date": "2024-11-16T04:25:47.856506+00:00",
  "planned_date": "2024-11-16T04:25:47.856506+00:00",
  "approvals": [
    {
      "id": 1,
      "amount": 2.0,
      "date": "2024-11-16T04:25:47.856506+00:00",
      "id_fund": 1,
      "id_fp_expense": 1,
      "id_fp_plan": 4
    },
    {
      "id": 1,
      "amount": 2.0,
      "date": "2024-11-16T04:25:47.856506+00:00",
      "id_fund": 1,
      "id_fp_expense": 1,
      "id_fp_plan": 4
    }
  ],
  "payments": [
    {},
    {}
  ],
  "detail": [
    {},
    {}
  ],
  "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:47.856506+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:47.856506+00:00",
              "due_date": "2024-11-16T04:25:47.856506+00:00",
              "complete_date": "2024-11-16T04:25:47.856506+00:00"
            },
            "is_mark_delete": true
          },
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T04:25:47.856506+00:00",
              "due_date": "2024-11-16T04:25:47.856506+00:00",
              "complete_date": "2024-11-16T04:25:47.856506+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:47.856506+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:47.856506+00:00",
              "due_date": "2024-11-16T04:25:47.856506+00:00",
              "complete_date": "2024-11-16T04:25:47.856506+00:00"
            },
            "is_mark_delete": true
          },
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T04:25:47.856506+00:00",
              "due_date": "2024-11-16T04:25:47.856506+00:00",
              "complete_date": "2024-11-16T04:25:47.856506+00:00"
            },
            "is_mark_delete": true
          }
        ]
      }
    ]
  },
  "url": "sample string 20"
}