GET invoices/show
- Former user (Deleted)
- p_demou (Deactivated)
This method returns information related with an invoice. A single invoice is returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||
invoice_identifier (mandatory) | Invoice identifier | The identifier of the invoice that should be returned as a result. The allowed invoice identifier fields are the following:
| |||||||||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved invoice |
number | String | The number of the retrieved invoice |
reference_number | String | The reference number of the retrieved invoice |
life_cycle_state | String | The state of the retrieved invoice which can be one of the following: DRAFT, REJECTED, POSTED, CANCELLED |
discount_amount | Number | The total discount amount provided by the invoice |
vat_amount | Number | The total VAT amount applied on the invoice Deprecated from CRM.COM R17.0.0 |
tax_amount | Number | The Total Tax amount applied on the invoice Available from CRM.COM R12.0.0 |
net_amount | Number | The total net amount of the invoice |
total_amount | Number | The total amount which is invoiced |
outstanding_amount | Number | The outstanding amount of this invoice |
unsettled_amount | Number | The unsettled amount of this invoice |
issued_on | Date | The date that the invoice was issued |
posted_on | Date | The date that the invoice was posted |
due_on | Date | The date that the invoice was received |
notes | String | Shared notes for the invoice |
back_office_code | String | The back office code of the retrieved invoice Available from CRM.COM R9.1.0 |
udf_string_1 | String | User DefinedField of type String |
udf_string_2 | String | User DefinedField of type String |
udf_string_3 | String | User DefinedField of type String |
udf_string_4 | String | User DefinedField of type String |
udf_string_5 | String | User DefinedField of type String |
udf_string_6 | String | User DefinedField of type String |
udf_string_7 | String | User DefinedField of type String |
udf_string_8 | String | User DefinedField of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
accounts_receivable | Accounts receivable object | The related accounts receivable |
member_account | Accounts receivable object | The member accounts receivable. Applicable only if the retrieved Invoice was issued because the member account is funded by a parent account. Available from CRM.COM R13.0.0 |
type | Financial transaction type object | The financial transaction type of this invoice |
category | Financial transaction category object | The category of the invoice |
rejection_reason | Financial transaction rejection reason object | The reason that the invoice was rejected |
accounting_period_information | Accounting Period Information object | The accounting period information of the retrieved invoice. This is applicable only if the invoice was processed during an Accounting Period Closing process run Available from CRM.COM R10.0.0 |
currency_rate_period | Currency Rate Period object | The currency rate period based on which the invoice's amounts were calculated Available from CRM.COM R10.0.0 |
Log Information Object | The log information relatedwiththe retrieved invoice | |
invoice_item_set | Set of invoice item objects | A list of items which are invoiced by this invoice |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved accounts receivable |
number | String | The number of the retrieved accounts receivable |
name | String | The name of the retrieved accounts receivable |
life_cycle_state | String | The life cycle state of the accounts receivable. One of the following values is returned: ACTIVE, SUSPENDED, TERMINATED |
account_owner | Contact information object | The contact information owning the accounts receivable |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved contact information |
type | String | The type of the retrieved contact information which can be PERSON or COMPANY |
life_cycle_state | String | The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL |
name | String | The full name of the retrieved contact information |
first_name | String | The first name of the retrieved contact information |
middle_name | String | The middle name of the retrieved contact information |
last_name | String | The last name of the retrieved contact information |
title | String | The title of the retrieved contact information |
company_name | Sting | The company name of the retrieved contact information |
Demographics Object | The demographics information of the retrieved contact information | |
Company profile object | The company profile of the retrieve contact information |
Referred Objects Response Data
Name | Type | Description |
gender | String | The gender of the retrieved contact information which can be MALE or FEMALE |
id_number | String | The ID number of the retrieved contact information |
id_number_expiration_date | Date | The ID number's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
passport_number | String | The passport number of the retrieved contact information |
passport_number_expiration_date | Date | The passport's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
social_security_number | String | The social security number of the retrieved contact information |
Date of Birth Object | The date of birth of the retrieved contact information | |
Name Day Object | The name day of the retrieved contact information | |
Country Object | The country of residence of the retrieved contact information | |
Country Object | The ID issued country of retrieved contact information | |
Country Object | The passport issued country of retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved date of birth |
month | Integer | The month of the retrieved date of birth |
year | Integer | The year of the retrieved date of birth |
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved name day |
month | Integer | The month of the retrieved name day |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
profile_year | Number | The profile year of the retrieved contact information |
annual_turnover | Number | The annual turnover of the retrieved contact information |
established_date | Date | The established date of the retrieved contact information |
number_of_employees | Number | The number of employees of the retrieved contact information |
registration_number | String | The registration number of the retrieved contact information |
vat_registration_number | String | The vat registration number of the retrieved contact information |
vat_registered_by | String | The vat registration by of the retrieved contact information |
vat_registration_date | Date | The vat registration date of the retrieved contact information |
tax_reference_number | String | The tax referenece number of the retrieved contact information |
Country Object | The country of residence of the retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved financial transaction type |
name | String | The Name of the retrieved financial transaction type |
alternative_code | String | The Alternative code of the retrieved financial transaction type |
description | String | The Description of the retrieved financial transaction type |
classification | Sting | The Classification of the retrieved financial transaction category which can be one of the following: INVOICE, INVOICE_CANCELLATION, CREDIT_NOTE, PAYMENT, PAYMENT_CANCELLATION, REFUND, WRITE_OFF WRITE_OFF classification is available from CRM.COM R13.0.0 |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved financial transaction category |
name | String | The Name of the retrieved financial transaction category |
code | String | The code of the retrieved financial transaction category |
description | String | The Description of the retrieved financial transaction category |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved financial transaction rejection reason |
name | String | The Name of the retrieved financial transaction rejection reason |
alternative_code | String | The Alternative code of the retrieved financial transaction rejection reason |
description | String | The Description of the retrieved financial transaction rejection reason |
Name | Type | Description |
---|---|---|
accounting_period_date | Date | The Date on which the Accounting Period was set on the financial transaction |
Accounting Period Object | The Accounting Period of the financial transaction. |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
number | String | The Accounting Period's number |
name | String | The Accounting Period's name |
from_date | Date | The Accounting Period's from date |
to_date | Date | The Accounting Period's to date |
life_cycle_state | Sting | The Accounting Period's life cycle state. Available values are OPEN and CLOSED |
closed_date | Date | The Accounting Period's closed date. Available only for Accounting Periods in Closed life cycle state |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved currency rate period |
rate | Number | The exchange rate of the currency rate period |
inverse_rate | Number | The inverse exchange rate of the currency rate period |
from_date | Date | The date from which the exchange rate is valid |
to_date | Date | The date until which the exchange rate is valid |
currency | Currency Object | The Currency with which the returned exchange rate information refers to |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved currency |
code | String | The code of the retrieved currency |
prefix_symbol | String | The prefix symbol for the specified currency |
suffix_symbol | String | The suffix symbol for the specified currency |
life_cycle_state | String | The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE Available from CRM.COM R14.0.0 |
integer_part_name | String | The integer part name for the specified currency |
decimal_part_name | String | The decimal part name for the specified currency |
Name | Type | Description |
created_date | Date | The date that the retrieved record was created |
updated_date | Date | The last date that the retrieved record was updated |
Unit Object | The unit that created the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Deprecated from CRM.COM R18.0.0 | |
Unit Object | The unit that created the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Available from CRM.COM R18.0.0 | |
User Object | The user that created the retrieved record From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled | |
Unit Object | The last unit that updated the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Deprecated from CRM.COM R18.0.0 | |
Unit Object | The last unit that updated the retrieved record Available from CRM.COM R18.0.0 | |
User Object | The last user that updated the retrieved record From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved unit |
name | String | The name of the retrieved unit |
group_name | String | The name of the group that the retrieved unit belongs to |
community_name | String | The name of the community that the retrieved unit belongs to |
alternative_code | String | The alternative code of the retrieved unit |
description | String | The description of the retrieved unit |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved business unit |
name | String | The name of the retrieved business unit |
code | String | The code of the retrieved business unit |
unified_code | String | The unified code of the retrieved business unit |
description | String | The description of the retrieved business unit |
parent_business_unit_name | String | The name of the parent business unit that the retrieved business unit belongs to |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user |
username | String | The user name of the retrieved user |
person_name | String | The full name of the retrieved user |
String | The email of the retrieved user |
Name | Type | Description |
id | String | The ID of the retrieved invoice item |
quantity | Number | The quantity of the product |
cost | Number | The cost of the product |
net_amount | Number | The net amount for the specified product, as calculated by the system |
discount_percentage | Number | The discount percentage that is applied |
discount_amount | Number | The discount amount that is applied |
vat_percentage | Number | The VAT percentage that is applied, based on the selected VAT rate Deprecated from CRM.COM R17.0.0 |
vat_amount | Number | The VAT amount that is applied, based on the selected VAT rate Deprecated from CRM.COM R17.0.0 |
tax_amount | Number | The Tax Amount that is applied based on Tax Rates. Available from CRM.COM R12.0.0 |
sub_total | Number | The total amount that will be invoiced for the specified product |
product | Product object | The product that was invoiced |
vat_rate | VAT rate object | The VAT rate that is applied Deprecated from CRM.COM R17.0.0 |
applied_tax_rates | Set of Applied Tax Rates | A list of Tax Rates applied on the invoice item Available from CRM.COM R12.0.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
Id | String | The ID of the product |
code | String | The code of product |
alternative_code | String | The alternative code of product |
description | String | The description of product |
priority_level | Integer | The priority level of the product Available from CRM.COM R12.3.0 |
global_rate | Global Rate Object | The global rate of the retrieved product Available from CRM.COM R15.0.0 |
product_type | Product type object | The type of the product |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved product type |
name | String | The Name of the retrieved product type |
alternative_code | String | The Alternative Code of the retrieved product type |
description | String | The Description of the retrieved product type |
classification | String | The Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS |
service_type | String | The Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE |
physical_good_type | String | The physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE |
composition_method | String | The Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE |
used_for_provisioning | Boolean | The flag shows if the retrieved product type is used for provisioning |
udr_type | Usage Detail Record Type | The UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE |
meter_reading_type | Meter Reading Type | The Meter Reading type related with the product type. This is applicable only for traceable physical goods Available from CRM.COM R14.0.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved usage detail record type |
name | String | The Name of the retrieved usage detail record type |
alternative_code | String | The Alternative Code of the retrieved usage detail record type |
description | String | The Description of the retrieved usage detail record type |
unit_of_measurement | String | The Unit of measurement of the retrieved usage detail record type |
Referred Objects Response Data
Name | Type | Description |
id | String | The identifier of the Unit of measurement |
name | String | The name of the Unit of measurement |
description | String | The description of the Unit of measurement |
alternative_code | String | The alternative code of the Unit of measurement |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved meter reading type |
name | String | The Name of the retrieved meter reading type |
alternative_code | String | The Alternative Code of the retrieved meter reading type |
classification | String | The Classification of the retrieved meter reading type |
description | String | The Description of the retrieved meter reading type |
unit_of_measurement | String | The Unit of measurement of the retrieved meter reading type |
Referred Objects Response Data
Name | Type | Description |
id | String | The identifier of the Unit of measurement |
name | String | The name of the Unit of measurement |
description | String | The description of the Unit of measurement |
alternative_code | String | The alternative code of the Unit of measurement |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved rate |
rate_model | String | The price plan rate model which can be one of the following:
From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED |
global_base_amount | Number | The base price of the product in the Global Price Plan |
base_rate_applied_per | String | The value for 'Base Rate Applied per' Available when the rate model is 'Quantity & Quantity Based' and it is a selection between
|
uot | String | The 'UOT' applicable for the rate
Available for one-time services |
time_period | Time Period Object | The period and unit of time for which the base amount is applicable for. This is available only on termed services rates. |
uom | String | The 'UOM' applicable for the rate Available when the product type is of Usage Service Classification |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
time_period_value | Number | The time period value |
time_period_uot | String | The time period unit of time. The supported values are the following: MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS |
Name | Type | Description |
---|---|---|
Id | String | The ID of the retrieved vat rate |
name | String | The Name of the retrieved vat rate |
alternative_code | String | The Alternative Code of the retrieved vat rate |
description | String | The Description of the retrieved vat rate |
Name | Type | Description |
---|---|---|
tax_amount | Number | The amount of tax that was applied by the related Tax Rate |
tax_percentage | Number | The percentage of the applied Tax Rate. |
tax_rates | Tax Rate Object | The Tax Rate that was applied |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved Tax rate |
name | String | The Name of the retrieved Tax rate |
alternative_code | String | The Alternative Code of the retrieved Tax rate |
description | String | The Description of the retrieved Tax rate |
Examples
HTTP Method: GET
Request:
Response:
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "notes": null, "udf_float_1": 10, "udf_float_2": 20, "invoice_item_set": [ { "vat_percentage": 0, "sub_total": 57, "discount_amount": 3, "vat_rate": { "name": "Zero", "id": "EDE5318C0AA394902E8C7DAE0227CB01", "description": "No VAT applied", "alternative_code": "ZR" }, "discount_percentage": 5, "net_amount": 60, "id": "FF61765F8AABD432D28A8B4FFFCC397A", "quantity": 0, "cost": 0, "vat_amount": 0, "product": { "product_type": { "physical_good_type": null, "service_type": "USAGE", "used_for_provisioning": true, "composition_method": "FLAT", "classification": "SERVICES", "name": "3Play ", "id": "92F0AFC840E91633C5212162303BE8DF", "description": "3Play Packages (Gold, Silver etc)", "alternative_code": "3PLAY" }, "id": "F43EBDCE48CAADEC32CB26F59904ECCD", "description": "Smart Card", "code": "Smart Card", "alternative_code": null } } ], "udf_float_3": 30, "number": "I00000498", "udf_float_4": 40, "due_on": "2014-11-05T15:49:59", "udf_string_1": "udf string 1", "udf_string_2": "udf string 2", "udf_string_3": "udf string 3", "udf_string_4": "udf string 4", "udf_string_5": "udf string 5", "udf_string_6": "udf string 6", "udf_string_7": "udf string 7", "udf_string_8": "udf string 8", "accounts_receivable": { "account_owner": { "last_name": "Papapavlou", "life_cycle_state": "FINANCIAL", "middle_name": "Andreas", "company_profile": null, "title": "Ms", "type": "PERSON", "first_name": "Lucia", "name": "Lucia Papapavlou", "id": "1D92B269658D80DEDF2499E25201739E", "company_name": null, "demographics": { "gender": "FEMALE", "passport_issued_by_country": { "name": "GREECE", "id": "209" }, "passport_number": "113115", "social_security_number": "113116", "country_of_residence": { "name": "UNITED KINGDOM", "id": "126" }, "industry_sector": { "name": "GOVERNMENTAL", "id": "A9BDEBD4D8FAEDB0BACE40C041156D12" }, "date_of_birth": { "month": 1, "day": 1, "year": 1990 }, "name_day": { "month": 5, "day": 5 }, "id_number": "113114", "id_issued_by_country": { "name": "GREECE", "id": "209" }, "industry": { "name": "Interior Design", "id": "06B638258885DA26FA2BD40D9128D04E" } } }, "life_cycle_state": "ACTIVE", "number": "401", "name": "Loucia Papapavlou", "id": "ACAED91501DC6856A93E1E7E5AF6E5C0" }, "discount_amount": 3, "id": "399ABC9CAAFF820100582EDEB842F026", "outstanding_amount": 0, "posted_on": "2014-10-29T18:20:40", "udf_date_1": "2014-05-05T15:49:59", "udf_date_2": "2014-06-05T15:49:59", "udf_date_3": "2014-07-05T15:49:59", "udf_date_4": "2014-08-05T15:49:59", "vat_amount": 0, "log_information": { "updated_date": "2014-10-30T15:58:36", "created_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": "MG" }, "created_date": "2014-10-29T18:20:40", "updated_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": "MG" }, "created_by_user": { "person_name": "MPAdministrator", "username": "MPAdministrator", "id": "1", "email": "mp@ministrator.com" }, "updated_by_user": { "person_name": "MPAdministrator", "username": "MPAdministrator", "id": "1", "email": "mp@ministrator.com" } }, "issued_on": "2014-10-29T18:20:40", "total_amount": 57, "life_cycle_state": "POSTED", "unsettled_amount": 0, "back_office_code": null, "rejection_reason": null, "net_amount": 60, "type": { "classification": "INVOICE", "name": "Invoice 1", "id": "D75737F9C4EDF822BBC1024ADE086695", "description": "Invoice 1", "alternative_code": "I1" }, "reference_number": "542", "category": { "name": "Invoice Category 1", "id": "77F4DAEBBADDD57BD974CD206A791AE0", "description": "Invoice Category 1", "code": "IC1" } } }
HTTP Method: GET
Request:
Response:
{ "data": { "notes": null, "log_information": { "created_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "updated_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "created_date": "2016-06-14T13:12:31", "updated_date": "2016-06-15T12:02:14", "updated_by_user": { "person_name": "MPAdministrator", "id": "1", "email": "dev@crm.com", "username": "MPAdministrator" }, "created_by_user": { "person_name": "MPAdministrator", "id": "1", "email": "dev@crm.com", "username": "MPAdministrator" } }, "discount_amount": 0, "currency_rate_period": { "from_date": "C7D7ED57F21B47028144967E015DCBE5", "to_date": 2.3, "rate": 2.3, "inverse_rate": 0.23000000417232513, "currency": { "suffix_symbol": null, "prefix_symbol": "£", "decimal_part_name": null, "code": "GBP", "integer_part_name": null, "id": "9" }, "id": "C7D7ED57F21B47028144967E015DCBE5" }, "udf_date_2": null, "type": { "alternative_code": "INV", "name": "Invoice", "description": null, "id": "INVOICE", "classification": "INVOICE" }, "udf_date_1": null, "due_on": "2016-06-16T13:13:01", "udf_date_4": null, "udf_date_3": null, "invoice_item_set": [ { "product": { "code": "aionet", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "Main Packages", "composition_method": "FLAT", "name": "Main Packages", "description": null, "id": "E186E293AAAB49EE86A729540A4287FE", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "aionet", "description": null, "id": "100D15C611CD4B0591EF62F2163266B9" }, "quantity": 1, "cost": 10, "vat_amount": 0.9, "discount_amount": 0, "sub_total": 10.9, "id": "66B27469E6C840808720D8BE2F75CBFD", "net_amount": 10, "discount_percentage": 0, "vat_percentage": 9, "vat_rate": { "alternative_code": "VAT 9%", "name": "VAT 9%", "description": null, "id": "48ADFA77916048328685049A3B7E3F64" } } ], "number": "I00000591", "udf_float_3": null, "udf_float_4": null, "vat_amount": 0.9, "rejection_reason": null, "id": "DE2A2E7E85C546AD9D9CEB066A0912CF", "udf_float_1": null, "udf_float_2": null, "udf_string_2": null, "udf_string_3": null, "accounting_period_information": null, "udf_string_4": null, "udf_string_5": null, "udf_string_1": null, "accounts_receivable": { "number": "ACR0000000221", "name": "ACR0000000221 Kyriacos16 Clerides", "id": "F73BD30B13F64BE1A181AD4115B8D758", "life_cycle_state": "ACTIVE", "account_owner": { "company_profile": null, "company_name": null, "name": "Kyriacos16 Clerides", "last_name": "Clerides", "id": "7747BAF431E9457D93D8E4A800DFFB1E", "life_cycle_state": "FINANCIAL", "middle_name": null, "title": null, "type": "PERSON", "first_name": "Kyriacos16", "demographics": { "name_day": { "month": null, "day": null }, "id_number": "45786", "gender": null, "country_of_residence": { "alternative_code": "CYP", "three_character_code": "CYP", "name": "CYPRUS", "id": "181", "two_character_code": "CY" }, "date_of_birth": { "month": null, "year": null, "day": null }, "industry_sector": null, "passport_number": null, "industry": null, "social_security_number": null, "id_issued_by_country": null, "passport_issued_by_country": null } } }, "life_cycle_state": "POSTED", "reference_number": "67", "posted_on": "2016-06-14T13:13:01", "total_amount": 10.9, "unsettled_amount": 0, "issued_on": "2016-06-14T13:12:31", "net_amount": 10, "outstanding_amount": 0, "udf_string_6": null, "category": null, "udf_string_7": null, "udf_string_8": null, "back_office_code": null }, "status": { "code": "OK", "description": "", "message": "" } }
HTTP Method: GET
Request:
Response:
{ "data": { "tax_amount": 0, "notes": null, "log_information": { "created_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "updated_by_unit": { "alternative_code": "adminunit", "group_name": "Main Group", "community_name": "Community", "name": "Admin Unit", "description": "admin unit", "id": "1" }, "created_date": "2017-04-05T17:28:29", "updated_date": "2017-04-05T17:28:29", "updated_by_user": { "person_name": "MPAdministrator", "id": "1", "email": "dev@crm.com", "username": "MPAdministrator" }, "created_by_user": { "person_name": "MPAdministrator", "id": "1", "email": "dev@crm.com", "username": "MPAdministrator" } }, "discount_amount": 4, "currency_rate_period": null, "udf_date_2": null, "type": { "alternative_code": "INV", "name": "Invoice", "description": null, "id": "INVOICE", "classification": "INVOICE" }, "udf_date_1": null, "due_on": "2017-04-07T17:28:29", "udf_date_4": null, "udf_date_3": null, "invoice_item_set": [ { "tax_amount": 0, "product": { "code": "Sports 1", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "AS", "composition_method": "FLAT", "name": "Additional Services", "description": null, "id": "C8321F0BCA8A4051857BC35CEEE41555", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "S1", "description": "Sports 1", "id": "02191FFC231D4FBD844D0BB66EBAB14B" }, "quantity": 2, "cost": 10, "applied_tax_rates": [], "discount_amount": 1, "discount_percentage": 5, "vat_amount": 4.75, "sub_total": 23.75, "id": "029FF402294B41D7935DC4D7A95DFC2D", "net_amount": 20, "vat_percentage": 25, "vat_rate": { "alternative_code": "S_1", "name": "Standard(VATS)", "description": null, "id": "D8159982FCBE4316BEAD4F6E761FB40D" } }, { "tax_amount": 0, "product": { "code": "Gold", "product_type": { "service_type": "TERMED", "used_for_provisioning": true, "alternative_code": "Main Packages", "composition_method": "FLAT", "name": "Main Packages", "description": null, "id": "E186E293AAAB49EE86A729540A4287FE", "classification": "SERVICES", "physical_good_type": null }, "alternative_code": "G", "description": "Gold", "id": "D1EB074DFD904E54A0C67CAB9DC7E010" }, "quantity": 1, "cost": 30, "applied_tax_rates": [], "discount_amount": 3, "discount_percentage": 10, "vat_amount": 6.75, "sub_total": 33.75, "id": "B892F4D76E994DF5AB20FC6C19D2F1ED", "net_amount": 30, "vat_percentage": 25, "vat_rate": { "alternative_code": "S_1", "name": "Standard(VATS)", "description": null, "id": "D8159982FCBE4316BEAD4F6E761FB40D" } } ], "number": "I00002949", "udf_float_3": null, "udf_float_4": null, "vat_amount": 11.5, "rejection_reason": null, "id": "2415A59E46F347CAB2392B4A000EB0A1", "udf_float_1": null, "udf_float_2": null, "udf_string_2": null, "udf_string_3": null, "accounting_period_information": null, "udf_string_4": null, "udf_string_5": null, "udf_string_1": null, "accounts_receivable": { "number": "ACR0000008050", "name": "ACR0000008050", "id": "CFAA158682CA46F6BBED269342487732", "life_cycle_state": "ACTIVE", "account_owner": { "company_profile": null, "company_name": null, "name": "Test Parent", "last_name": "Parent", "id": "BB44D23D6B3E4BDAA3E38E13708F9E8B", "life_cycle_state": "FINANCIAL", "middle_name": null, "title": null, "type": "PERSON", "first_name": "Test", "demographics": { "name_day": { "month": null, "day": null }, "id_number": "1234567", "gender": null, "country_of_residence": { "alternative_code": "CYP", "three_character_code": "CYP", "name": "CYPRUS", "id": "181", "two_character_code": "CY" }, "date_of_birth": { "month": null, "year": null, "day": null }, "industry_sector": null, "passport_number": null, "industry": null, "social_security_number": null, "id_issued_by_country": null, "passport_issued_by_country": null } } }, "life_cycle_state": "POSTED", "reference_number": "2762", "member_account": { "number": "ACR0000008052", "name": "ACR0000008052", "id": "00C60616F63148229B01E7FEFEF5B825", "life_cycle_state": "ACTIVE", "account_owner": { "company_profile": null, "company_name": null, "name": null, "last_name": "Member_2", "id": "FA724A77310B44839860956A9451AFBD", "life_cycle_state": "FINANCIAL", "middle_name": null, "title": null, "type": "PERSON", "first_name": "Test", "demographics": { "name_day": { "month": null, "day": null }, "id_number": null, "gender": null, "date_of_birth": { "month": null, "year": null, "day": null }, "industry_sector": null, "passport_number": null, "industry": null, "social_security_number": null, "id_issued_by_country": null, "passport_issued_by_country": null } } }, "posted_on": "2017-04-05T17:28:29", "total_amount": 57.5, "unsettled_amount": 57.5, "issued_on": "2017-04-05T17:28:29", "net_amount": 50, "outstanding_amount": 0, "udf_string_6": null, "category": null, "udf_string_7": null, "udf_string_8": null, "back_office_code": null }, "status": { "code": "OK", "description": "", "message": "" } }