Skip to main content
POST
Create Invoice

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
subcontractOrderId
string | null
supplierId
string | null
invoiceNumber
string | null
currency
string
default:VND
subtotal
number
default:0
taxRate
number | null
taxAmount
number
default:0
totalAmount
number
default:0
notes
string | null
post
boolean
default:false

Response

Successful Response

id
string
required
orgId
string
required
currency
string
required
subtotal
number
required
taxAmount
number
required
totalAmount
number
required
status
string
required
glPosted
boolean
required
invoiceNumber
string | null
subcontractOrderId
string | null
supplierId
string | null
entryId
string | null