POST
/
merchant
/
invoice
/
pdf_update
curl --request POST \
  --url https://api.unibee.top/merchant/invoice/pdf_update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "invoiceId": "<string>",
  "issueAddress": "<string>",
  "issueCompanyName": "<string>",
  "issueRegNumber": "<string>",
  "issueVatNumber": "<string>",
  "localizedCurrency": "<string>",
  "localizedExchangeRate": 123,
  "localizedExchangeRateDescription": 123,
  "metadata": {},
  "sendUserEmail": false,
  "showDetailItem": false,
  "template": "<string>"
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
invoiceId
string
required

The unique id of invoice

issueAddress
string

IssueAddress

issueCompanyName
string

IssueCompanyName

issueRegNumber
string

IssueRegNumber

issueVatNumber
string

IssueVatNumber

localizedCurrency
string

LocalizedCurrency, To display localized currency amount

localizedExchangeRate
number

LocalizedExchangeRate, exchange rate must set while LocalizedCurrency enabled

localizedExchangeRateDescription
number

LocalizedExchangeRateDescription

metadata
object

Metadata,Map

sendUserEmail
boolean
default:false

Whether sen invoice email to user or not,default false

showDetailItem
boolean
default:false

ShowDetailItem, whether to display detail item information in pdf generate, unitAmount, quantity, etc.

template
string

Template

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string