Change status of invoice

Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

invoice
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier

Required

internal_number

Internal number to identify the invoice

string
company_id

Foreign key to company, identifies the company of the invoice

globally unique identifier
company_code

Company code of the invoice

string
company_name

Company name of the invoice

string
date_create

Invoice creation date in utc

date
memo

Memo field for invoice

string
description

Decription field for invoice

string
invoice_type

Invoice type, possible values “ContractGenerated“ and “WorkOrderApproval“

string
source_type

Source of invoice, refers to the type of the object from which invoice is derived

string
source_id_in_table

Key of the object from which the invoice is derived

globally unique identifier
total_lines

Total amount of lines linked to the invoice

integer
total_amount

Total value of items in lines linked to the invoice

decimal number
db_currency_id

Key of db_currency entity, identifies the db_currency of the invoice

globally unique identifier
total_taxes

Total taxes

decimal number
due_date

The due date

date
source_db_table_name

The name of db table

string
delivery_name

The delivery name

string
delivery_street

The street for delivery

string
delivery_city

The city for delivery

string
delivery_zip

The zip for delivery

string
delivery_db_country_name

The country name for delivery

string
reference_back_office

Reference data for back office

string
db_payment_method_id

Payment method id

globally unique identifier
id2

id for internal

integer
customer_remarks

Customer remarks

string
bill_to_party

The bill to party

string
bill_to_contact_id

Contact id for bill

globally unique identifier
contact_id

Contact id of invoice

globally unique identifier
article_price_label_id

Article price label id

globally unique identifier
db_language_id

The language id

globally unique identifier
invoice_status_id

The status id of invoice

globally unique identifier
invoice_status_name

The status name of invoice

string
discount_group_id

The id of discount group

globally unique identifier
discount

Discount value

decimal number
email

The email

string
invoice_number

Invoice number

string
bill_to_company_id

Company id for bill

globally unique identifier
dateutc_confirmation

The confirmation date (UTC)

date
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "44dc6cad-61da-4a6a-a9ec-6f9078470d27",
  "internal_number": "sample string 2",
  "company_id": "df71496c-9d76-4de0-af9d-109bf82f6668",
  "company_code": "sample string 4",
  "company_name": "sample string 5",
  "date_create": "2025-01-18T05:22:11.9197168+00:00",
  "memo": "sample string 7",
  "description": "sample string 8",
  "invoice_type": "sample string 9",
  "source_type": "sample string 10",
  "source_id_in_table": "7d48dc80-edac-4751-8f50-69f7053f67dd",
  "total_lines": 12,
  "total_amount": 13.0,
  "db_currency_id": "42eff7ca-64db-410e-8eb0-67c3e5201927",
  "total_taxes": 15.0,
  "due_date": "2025-01-18T05:22:11.9197168+00:00",
  "source_db_table_name": "sample string 17",
  "delivery_name": "sample string 18",
  "delivery_street": "sample string 19",
  "delivery_city": "sample string 20",
  "delivery_zip": "sample string 21",
  "delivery_db_country_name": "sample string 22",
  "reference_back_office": "sample string 23",
  "db_payment_method_id": "2ede01d4-b846-4494-a0af-b489bda8b5bc",
  "id2": 25,
  "customer_remarks": "sample string 26",
  "bill_to_party": "sample string 27",
  "bill_to_contact_id": "39f62785-6e80-42bf-91cb-5f263bc6a045",
  "contact_id": "ae7298df-ec0b-4598-bec3-c72c759ea788",
  "article_price_label_id": "b29cda54-8753-47e3-994b-1f76021a3b98",
  "db_language_id": "26239e4e-4e4f-4932-9a5b-4096950fb224",
  "invoice_status_id": "bfe6677d-8ad3-4fff-b49b-c1d699e379b8",
  "invoice_status_name": "sample string 33",
  "discount_group_id": "4386aaff-855d-4a9d-bd10-761ed670ba3f",
  "discount": 35.0,
  "email": "sample string 36",
  "invoice_number": "sample string 37",
  "bill_to_company_id": "547329e5-420f-4c21-aa62-e0e37a394146",
  "dateutc_confirmation": "2025-01-18T05:22:11.9197168+00:00",
  "modified_dateutc": "2025-01-18T05:22:11.9197168+00:00"
}