ShowOneInvoice
Testing Env
https://taccounting.vodoerp.com
Testing Env
https://taccounting.vodoerp.com
GET
/api/v4/sales_invoices/{{invoice_uuid}}
Last modified:2025-04-06 12:28:16
GET /api/v4/sales_invoices/0a46e481-a768-41f5-9ceb-613f8987ce19
Request Body
Response
{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"uuid": {
"type": "string"
},
"user_id": {
"type": "integer"
},
"branch_id": {
"type": "integer"
},
"business_id": {
"type": "integer"
},
"currency_id": {
"type": "integer"
},
"reference": {
"type": "integer"
},
// ... (additional properties)
"user": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"integration_id": {
"type": ["integer", "null"]
},
// ... (additional properties)
}
}
}
}
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://taccounting.vodoerp.com/api/v4/sales_invoices/{{invoice_uuid}}' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'platform-key: 1234567' \
--header 'platform: web' \
--header 'Accept-Language: ar' \
--header 'apikey: efe2db322a53'
Response Response Example
{
"status": true,
"message": "invoice data",
"data": {
"id": 121029,
"uuid": "0a46e481-a768-41f5-9ceb-613f8987ce19",
"user_id": 34479,
"branch_id": 0,
"business_id": 259,
"currency_id": 219,
"reference": 5,
"sales_order_id": null,
"ecomm_order_id": null,
"order_number": null,
"quote_number": null,
"due_date": null,
"created_date": "2025-01-30",
"description": "desc",
"invoice_status_days": 0,
"invoice_status": null,
"billing_address": null,
"rounding": "0",
"rounding_value": "0",
"tax_inclusive": "0",
"discount": null,
"total_amount_word": "0",
"total": 500,
"credit_amount": null,
"payment_amount": null,
"receipt_amount": null,
"expenses_amount": null,
"jornal_entries_amount": null,
"amount_total": 500,
"tax_amount_total": 60,
"total_without_deduct": "500",
"due_balalnce": 500,
"qty_due_balance": 6,
"hide_due_date": "0",
"deduct_type": "",
"deduct_value": 0,
"payment_fees": 0,
"early_discount_type": "",
"early_discount_value": 0,
"early_discount_days": 0,
"custom_title": "",
"note": "",
"bank_id": 0,
"representative_id": 0,
"pos_session_id": 0,
"created_by": 598,
"invoice_type": null,
"reservation_invoice_id": null,
"column_type": "sales_invoices",
"rate_value": 0,
"created_at": "2025-03-25T15:19:31.000000Z",
"updated_at": "2025-03-25T15:19:32.000000Z",
"items": [
{
"id": 216313,
"invoice_id": 121029,
"business_id": null,
"sort": null,
"item_id": null,
"ecommerce_item_attributes_id": "",
"bocklet_id": null,
"bocklet_barcode": null,
"coupon_id": null,
"coupon_barcode": null,
"item_kind": null,
"build_id": null,
"build_item": 0,
"ecommerce_item_id": null,
"ecommerce_item_unit_name_ar": null,
"ecommerce_item_unit_name_en": null,
"ecommerce_item_unit_id": null,
"hidden": 0,
"description": "asdasd",
"qty": "5",
"unit_price": 100,
"amount": 500,
"different_currency_amount": null,
"different_currency_id": 0,
"discount": null,
"account_id": 2367,
"fixedAsset_id": null,
"intangibleAsset_id": null,
"capitalAccount_id": null,
"specialAccount_id": null,
"customer_id": null,
"supplier_id": null,
"customer_invoice_id": null,
"supplier_invoice_id": null,
"employee_id": null,
"tax_id": "85",
"division_id": null,
"tax_amount": 30,
"column_type": "sales_invoices",
"created_at": "2025-03-25T15:19:31.000000Z",
"updated_at": "2025-03-25T15:19:31.000000Z"
},
{
"id": 216314,
"invoice_id": 121029,
"business_id": null,
"sort": null,
"item_id": null,
"ecommerce_item_attributes_id": "",
"bocklet_id": null,
"bocklet_barcode": null,
"coupon_id": null,
"coupon_barcode": null,
"item_kind": null,
"build_id": null,
"build_item": 0,
"ecommerce_item_id": null,
"ecommerce_item_unit_name_ar": null,
"ecommerce_item_unit_name_en": null,
"ecommerce_item_unit_id": null,
"hidden": 0,
"description": "asdasd",
"qty": "1",
"unit_price": 200,
"amount": 200,
"different_currency_amount": null,
"different_currency_id": 0,
"discount": null,
"account_id": 2367,
"fixedAsset_id": null,
"intangibleAsset_id": null,
"capitalAccount_id": null,
"specialAccount_id": null,
"customer_id": null,
"supplier_id": null,
"customer_invoice_id": null,
"supplier_invoice_id": null,
"employee_id": null,
"tax_id": "85",
"division_id": null,
"tax_amount": 30,
"column_type": "sales_invoices",
"created_at": "2025-03-25T15:19:31.000000Z",
"updated_at": "2025-03-25T15:19:31.000000Z"
}
],
"user": {
"id": 34479,
"integration_id": null,
"integration_method": null,
"uuid": "eb7af2a4-e6bd-11ef-995f-fa163e094c0f",
"business_id": 259,
"related_business_id": null,
"first_name": "رهف",
"last_name": null,
"user_name": null,
"email": null,
"token": null,
"email_verified_at": null,
"password": "$2y$10$pWsYJe0eC77NgvP/xhqlX.4.Ssa5f.1v6ItRswFvr4QIeWcBWfRry",
"phone": "00966503251340",
"address1": null,
"longitude": null,
"latitude": null,
"address2": null,
"address_type": null,
"country_id": 0,
"city": null,
"district": null,
"state": null,
"postcode": null,
"vat_number": null,
"vat_number_check": "1",
"company_name": "ؤ",
"currency": "126",
"business_identifier": null,
"billing_address": null,
"delivery_address": null,
"credit_limit": null,
"remember_token": null,
"user_type": 1,
"status": 1,
"started_balance": null,
"customer_type": null,
"reservation_cust_id": null,
"image": null,
"send_confirm_message": 1,
"bank_name": null,
"bank_account_number": null,
"bank_iban_number": null,
"commercial_register": null,
"user_cat_id": 0,
"kiosk_code": null,
"kiosk_token": null,
"user_kiosk_token": null,
"kiosk_code_verified_at": null,
"job": null,
"login_token": null,
"created_at": "2024-12-03T15:32:18.000000Z",
"updated_at": "2024-12-03T15:40:27.000000Z",
"deleted_at": null
}
}
}
Request
Header Params
secure-business-key
string
required
Example:
4765066450c0bd66325.48403130
platform-key
string
required
Example:
1234567
platform
string
required
Example:
web
Accept-Language
string
required
Example:
ar
apikey
string
required
Example:
efe2db322a53
Body Params multipart/form-data
object {0}