Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1385 Lượt xem

Im using this json to create payment and attach it with invoice so that invoice can be seen as PAID.


{ "jsonrpc": "2.0", "method": "call", "params": { "service": "object", "method": "execute_kw", "args": [

, , "", 

"account.payment", 

"create", 

[ {

 "journal_id": 13,

"partner_id": 9,

"payment_method_line_id": 5,

"payment_type": "inbound",

"amount": 999,

"amount_paid": 999,

"currency_id": 127,

"amount_total_in_currency_signed": 999

} ] ] }}

is ther any argument which im missing here to mark the invoice as paid? I'm using Version 17 enterprise.

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 20
4584
0
thg 9 23
965
2
thg 4 23
3039
0
thg 2 22
5330
1
thg 8 24
982