Skip to main content

v2.order.get_buyer_invoice_info

POST /api/v2/order/get_buyer_invoice_info

API to obtain buyer submitted invoice info for VN, TH and PH local sellers only.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/order/get_buyer_invoice_info

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
queriesobject[]False
order_snstringTrue220314U0G6UNMNShopee's unique identifier for an order.

Response Parameters

NameTypeSampleDescription
invoice_info_listobject[]
order_snstring220314U0G6UNMNShopee's unique identifier for an order.
invoice_typestringpersonalType of invoice requested: {1: personal, 2: company, 3: household}.
invoice_detailobjectInvoice info submitted by buyer. Might be masked, e.g. A****b, depending on order status.
namestringTom JerryBuyer name (has value when invoice_type is personal, household, or company) - VN, TH, PH only
emailstringtom.and.jerry@gmail.comBuyer email address (has value when invoice_type is personal and household) - VN, TH, PH only
phone_numberstring(+66) 828918689Buyer phone number - TH only
tax_idstring1234567898has value when invoice_type is personal and household.  - VN, TH, PH only
addressstringGieŁdowa 4b, Długi Bród, 17200, PIĄTE PIĘTROBuyer address in format "Street & number, city, zipcode, any additional info provided by buyer" (has value when invoice_type is personal and household) - PH, VN only
id_card_addressstringGieŁdowa 4b, Długi Bród, 17200, PIĄTE PIĘTROSame function as the address, only having a different field name for TH.Buyer address in format "Street & number, city, zipcode, any additional info provided by buyer" (only has value when invoice_type is personal).
address_breakdownobjectBuyer address breakdown. - TH, PH only
regionstringThailandReturn region value - PH, TH only
statestringMałopolskieReturn value - TH: Province
citystringMyślenickiReturn value - TH: District
townstringŁękiReturn value - TH: Sub district
postcodestring17200Return value - TH: Postal code - PH: Postal code
detailed_addressstringGieŁdowa 4bReturn value - PH: Additional details, i.e. street name, building - TH: Additional details, i.e. house number
additional_infostringPIĄTE PIĘTROReturn value: - Empty for PH, TH
full_addressstringGieŁdowa 4b, Łęki, 17200, PIĄTE PIĘTRO- only has value when invoice_type is personal - Buyer address in format "detailed_address, town, district, state, postcode, additional_info" for all regions --- for TH: leave the 'additional_info' as empty
company_head_officestringyes- return value for TH only (only has value when invoice_type is company)
company_namestringMichal Orwinski S.C.- Only return value when invoice type is company - VN, TH, PH only
company_branch_namestringCIty A branch- Only return value when invoice type is company - TH only
company_branch_idstring123- Only return value when invoice type is company - TH only
company_typestringhead office- Only return value when invoice type is company - TH only
company_emailstringmichal@shopee.com- Only return value when invoice type is company - VN, TH, PH only
company_tax_idstring123456789- Only return value when invoice type is company - VN, TH, PH only
company_addressstringGieŁdowa 4b, Długi Bród, 17200, PIĄTE PIĘTROBuyer address in format "Street & number,city, zipcode, any additional info provided by buyer" (only has value when invoice_type is company) - VN, TH only
company_address_breakdownobjectCompany address breakdown - PH, TH only
company_regionstringThailandReturn region value - PH, TH only
company_statestringMałopolskieReturn value - PH: Province - TH: Province
company_citystringMyślenickiReturn value - PH: City
company_districtstringMyśleniceReturn value - PH: Barangay - TH: District
company_townstringŁękiReturn value - TH: Sub district
company_postcodestring17200Return postal code - TH, PH only
company_detailed_addressstringGieŁdowa 4bReturn value - PH: Detailed address - TH: Detailed address
company_additional_infostringPIĄTE PIĘTROReturn value: - Empty for PH, TH
company_full_addressstringGieŁdowa 4b, Łęki, 17200, PIĄTE PIĘTROConcatenation of company address breakdown - only has value when invoice_type is company
household_address_breakdownobjectHousehold address breakdown -Only for VN
household_regionstringRegion of the household address.
household_statestringState of the household address.
household_citystringCity of the household address.
household_provincestringProvince of the household address.
household_districtstringDistrict of the household address.
household_townstringTown of the household address.
household_barangaystringBarangay of the household address.
household_postcodestringPostal code of the household address.
household_detailed_addressstringDetailed street address of the household.
household_additional_infostringAdditional address information provided by the buyer.
household_full_addressstringFull formatted household address.
errorstringorder not foundError in retrieving the receipt setting of a particular order.
is_requestedbooleanfalseTo identify order with and without buyer request, applicable to PL.
request_idstringZQKEZfwaNQUnMKqMmjWuRPybfshyFygVRequest id for debugging purposes
errorstringcommon.error_authIndicate error type if hit error. Empty if no error happened.
messagestringInvalid access_token.Indicate error details if hit error. Empty if no error happened.