POST
/
merchant
/
invoice
/
pdf_update
Update Invoice PDF
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<string>
required

The unique id of invoice

issueAddress
string<*string>

IssueAddress

issueCompanyName
string<*string>

IssueCompanyName

issueRegNumber
string<*string>

IssueRegNumber

issueVatNumber
string<*string>

IssueVatNumber

localizedCurrency
string<*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<string>

Template

Response

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