Authorization: Bearer ********************{
"InvoiceHeaderModel": {
"DocumentDate": "2026-04-09",
"DocumentNumber": "PS2004",
"DocumentDesc": "api test",
"RegistryNumber": "",
"CustomerId": "",
"BankId": "",
"CurrencyId": "MNT",
"ContractId": "",
"BankAccountNumber": "000002",
"Details": [
{
"ItemId": "000000001",
"ItemName": "ДҮНГ",
"Qty": 1,
"Price": 80000,
"VatAmount": 7272.73,
"CityTaxAmount": 0,
"DiscountAmount": 0,
"Amount": 80000
}
]
}
}curl --location --request POST 'https://accountingAPI.smartlogic.mn/api/recpay/PostInvoice' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"InvoiceHeaderModel": {
"DocumentDate": "2026-04-09",
"DocumentNumber": "PS2004",
"DocumentDesc": "api test",
"RegistryNumber": "",
"CustomerId": "",
"BankId": "",
"CurrencyId": "MNT",
"ContractId": "",
"BankAccountNumber": "000002",
"Details": [
{
"ItemId": "000000001",
"ItemName": "ДҮНГ",
"Qty": 1,
"Price": 80000,
"VatAmount": 7272.73,
"CityTaxAmount": 0,
"DiscountAmount": 0,
"Amount": 80000
}
]
}
}'{
"Success": true,
"Message": null,
"ErrorCode": null,
"ExceptionType": null,
"Data": "2502191634188573989"
}