Set-MW_Invoice

Syntax

Set-MW_Invoice -Ticket <Ticket> -EndpointUrl <string> -invoice <Invoice[]> [-MasterLicensePackId <guid>] [-MasterInvoiceId <guid>] [-PayDate <datetime>] [-UserId <guid>] [-BillingAddress <PostalAddress>] [-ShippingAddress <PostalAddress>] [-CreditCard <CreditCard>] [-InvoiceXml <string>] [-Notes <string>] [-Tag <string>] [-IpAddress <string>] [-PONumber <string>] [-Items <InvoiceItem[]>] [-IsApproved <bool>] [-IsCharged <bool>] [-IsAutoBilled <bool>] [-InvoiceType <InvoiceType>] [-CaptureError <CaptureError>] [-PaymentMethod <PaymentMethod>] [-ExchangeRateId <guid>] [-TransactionId <string>] [-QuoteId <guid>] [-WorkgroupOrganizationId <guid>] [-LicenseLogId <guid>] [-CouponCode <string>] [-AccessLevel <string>] [<CommonParameters>]

Set-MW_Invoice -Ticket <Ticket> -invoice <Invoice[]> [-Environment <string>] [-MasterLicensePackId <guid>] [-MasterInvoiceId <guid>] [-PayDate <datetime>] [-UserId <guid>] [-BillingAddress <PostalAddress>] [-ShippingAddress <PostalAddress>] [-CreditCard <CreditCard>] [-InvoiceXml <string>] [-Notes <string>] [-Tag <string>] [-IpAddress <string>] [-PONumber <string>] [-Items <InvoiceItem[]>] [-IsApproved <bool>] [-IsCharged <bool>] [-IsAutoBilled <bool>] [-InvoiceType <InvoiceType>] [-CaptureError <CaptureError>] [-PaymentMethod <PaymentMethod>] [-ExchangeRateId <guid>] [-TransactionId <string>] [-QuoteId <guid>] [-WorkgroupOrganizationId <guid>] [-LicenseLogId <guid>] [-CouponCode <string>] [-AccessLevel <string>] [<CommonParameters>]

Detailed Description

Set-MW_Invoice sets a(an) MW_Invoice. Represents an invoice.

Parameters

Total Parameters: 41

EndpointUrl

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

invoice

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Ticket

Paremeter specs:

Required True
ValueFromPipeline False
ValueFromPipelineByPropertyName False

AccessLevel

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

BillingAddress

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

CaptureError

Available values are listed below.

Value Description
None No charging error.
AuthorizationExpired Authorization expired.
NoTransactionId No transaction ID present.
PaymentGatewayRejection Capture error returned from payment gateway.
TestTransaction Test transaction.
TransientPaymentGatewayError Transient payment gateway error.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

CouponCode

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

CreditCard

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Environment

Available values are listed below.

Value Description
BT Represents BT
Beta Represents Beta
Develop Represents Develop
Release Represents Release
Test Represents Test
China Represents China
Germany Represents Germany
Alpha Represents Alpha
Today Represents Today
Sandbox-02 Represents Sandbox-02
Sandbox-03 Represents Sandbox-03

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ExchangeRateId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

InvoiceType

Available values are listed below.

Value Description
Purchase Purchase.
Refund Refund.
Oem OEM.
Credit Credit.
WriteOff Write-off.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

InvoiceXml

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IpAddress

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsApproved

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsAutoBilled

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

IsCharged

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Items

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

LicenseLogId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

MasterInvoiceId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

MasterLicensePackId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Notes

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

PayDate

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

PaymentMethod

Available values are listed below.

Value Description
Unknown Unknown.
CreditCard Credit card.
Wire Wire.

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

PONumber

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

QuoteId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

ShippingAddress

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Tag

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

TransactionId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

UserId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

WorkgroupOrganizationId

Paremeter specs:

Required False
ValueFromPipeline False
ValueFromPipelineByPropertyName False

Outputs

System.Object

Notes

Examples