Skip to main content

changePrivateBenefitIncomeAccount

Changes the income account of an existing private benefit, see PrivateBenefit.incomeAccount.

The account lives on the benefit's product template in Odoo, so the change reaches every invoice line booked from then on; invoices already transferred keep their account. Refuses an account code Odoo does not know with INCOME_ACCOUNT_NOT_FOUND, and an entry that is not a private benefit.

Requires authorization features: benefit:catalogue:edit

changePrivateBenefitIncomeAccount(
input: ChangePrivateBenefitIncomeAccountInput!
): ChangePrivateBenefitIncomeAccountPayload!

Directives​

auth​

Requires authorization features: benefit:catalogue:edit

Arguments​

changePrivateBenefitIncomeAccount.input ● ChangePrivateBenefitIncomeAccountInput! non-null input​

Type​

ChangePrivateBenefitIncomeAccountPayload object​

Payload for the changePrivateBenefitIncomeAccount mutation.