billingChargeUpdate
Update a billing charge.
Arguments
idID!ID of the billing charge.
chargeDateDateCharge date.
descriptionStringDescription.
ledgerIdIDID of the ledger.
metadataMixedMetadata.
periodEndAtDateEnd of the billing period.
periodStartAtDateStart of the billing period.
quantityStringQuantity.
currencyString!ISO 4217 currency code
valueString!Amount
vatProfileIdIDID of the VAT profile.
Returns
chargeDateDate!Charge date of the billing charge.
chargeKeyString!Charge key of the billing charge.
createdAtDateTimeTz!When the billing charge was created.
descriptionString!Description of the billing charge.
idID!Unique primary key.
isReprocessableBoolean!Whether this billing charge can be reprocessed.
issueCodeStringIssue code of the billing charge.
metadataMixedMetadata of the billing charge.
originBillingChargeOrigin!Origin of the billing charge.
CARRIER_PASS_THROUGHCREDITFIXED_FEEMANUALMINIMUM_ADJUSTMENTRESOURCESUBSCRIPTIONperiodEndAtDate!End of the billing period.
periodStartAtDate!Start of the billing period.
priceableBillingChargePriceablePriceable of the billing charge.
priceableIdIDID of the pricing source identified by priceableType.
priceableTypeBillingChargePriceableTypeModel type of the pricing source used for this billing charge.
CARRIER_CHARGE_MAPPINGCARRIER_INVOICE_LINE_CHARGEFULFILLMENTFULFILLMENT_SERVICE_RULEFULFILLMENT_SERVICE_RULE_TIERGOODS_RECEIPTINVENTORY_BILLING_PERIODORGANIZATIONRETURN_RECEIPTSHIPMENTSHIPPING_PRODUCT_BASESHIPPING_PRODUCT_FUEL_SURCHARGESHIPPING_PRODUCT_OPTIONSUBSCRIPTIONpricingModeBillingChargePricingMode!Pricing mode of the billing charge.
CATALOGMANUALPASS_THROUGHSNAPSHOTquantityString!Quantity of the billing charge.
resourceBillingChargeResourceThe resource associated with this billing charge.
subjectIdID!ID of the subject identified by subjectType.
subjectTypeBillingChargeSubjectType!Model type of the subject that generated this billing charge.
CARRIER_CHARGE_MAPPINGCARRIER_INVOICE_LINE_CHARGEFULFILLMENTFULFILLMENT_SERVICE_RULEFULFILLMENT_SERVICE_RULE_TIERGOODS_RECEIPTINVENTORY_BILLING_PERIODORGANIZATIONRETURN_RECEIPTSHIPMENTSHIPPING_PRODUCT_BASESHIPPING_PRODUCT_FUEL_SURCHARGESHIPPING_PRODUCT_OPTIONSUBSCRIPTIONupdatedAtDateTimeTz!When the billing charge was last updated.
field[String!]messageString!