From 4b6d82fef511c076eeb3c902bf46660a068883b6 Mon Sep 17 00:00:00 2001 From: Kyle Le Date: Mon, 4 Mar 2024 10:29:10 +0700 Subject: [PATCH] Multiple invoice tags API --- source/includes/_invoice.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/includes/_invoice.md b/source/includes/_invoice.md index cdb44eb..d4d12ca 100644 --- a/source/includes/_invoice.md +++ b/source/includes/_invoice.md @@ -3036,9 +3036,9 @@ comment = nil invoice = KillBillClient::Model::Invoice.new invoice.invoice_id = '7bf0f3d6-4ffb-4d5a-98c7-1158083432d0' -tag_name = 'WRITTEN_OFF' +tag_definition_ids = ['2c1f8309-24d7-437c-971b-7e68ff2d393a'] -invoice.add_tag(tag_name, +invoice.add_tags_from_definition_ids(tag_definition_ids, user, reason, comment, @@ -3235,9 +3235,9 @@ comment = nil invoice = KillBillClient::Model::Invoice.new invoice.invoice_id = '7bf0f3d6-4ffb-4d5a-98c7-1158083432d0' -tag_name = 'WRITTEN_OFF' +tag_definition_ids = ['2c1f8309-24d7-437c-971b-7e68ff2d393a'] -invoice.remove_tag(tag_name, +invoice.remove_tags_from_definition_ids(tag_definition_ids, user, reason, comment,