GET api/Invoice/{id}

Fast method to get invoice by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiInvoiceOutput
NameDescriptionTypeAdditional information
id

integer

None.

seria

string

None.

number

string

None.

description

string

None.

url

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_income

integer

None.

fp_income

info

Object

None.

id_company

integer

None.

outer_id_company

string

None.

company

info

Object

None.

id_person

integer

None.

person

info

Object

None.

date

date

None.

estimated_payment_date

date

None.

planned_date

date

None.

payments

info

Collection of Object

None.

detail

Collection of Object

None.

customMasterFields

ApiMasterFields

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "seria": "sample string 2",
  "number": "sample string 3",
  "description": "sample string 4",
  "url": "sample string 5",
  "total_without_amount": 6.0,
  "total_vat_amount": 7.0,
  "total_amount": 8.0,
  "payed_amount": 9.0,
  "remaining_amount": 10.0,
  "is_deleted": true,
  "outer_id": "sample string 12",
  "id_paymend_metod": 1,
  "id_currency": 1,
  "paymend_metod": {},
  "id_fp_income": 1,
  "fp_income": {},
  "id_company": 1,
  "outer_id_company": "sample string 15",
  "company": {},
  "id_person": 1,
  "person": {},
  "date": "2024-11-16T05:01:14.9944166+00:00",
  "estimated_payment_date": "2024-11-16T05:01:14.9944166+00:00",
  "planned_date": "2024-11-16T05:01:14.9944166+00:00",
  "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-16T05:01:14.9944166+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-16T05:01:14.9944166+00:00",
              "due_date": "2024-11-16T05:01:14.9944166+00:00",
              "complete_date": "2024-11-16T05:01:14.9944166+00:00"
            },
            "is_mark_delete": true
          },
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T05:01:14.9944166+00:00",
              "due_date": "2024-11-16T05:01:14.9944166+00:00",
              "complete_date": "2024-11-16T05:01:14.9944166+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-16T05:01:14.9944166+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-16T05:01:14.9944166+00:00",
              "due_date": "2024-11-16T05:01:14.9944166+00:00",
              "complete_date": "2024-11-16T05:01:14.9944166+00:00"
            },
            "is_mark_delete": true
          },
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T05:01:14.9944166+00:00",
              "due_date": "2024-11-16T05:01:14.9944166+00:00",
              "complete_date": "2024-11-16T05:01:14.9944166+00:00"
            },
            "is_mark_delete": true
          }
        ]
      }
    ]
  }
}