Compartilhar via


InvoiceDocument Class

Definition

The properties of a document.

public class InvoiceDocument : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.InvoiceDocument>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.InvoiceDocument>
type InvoiceDocument = class
    interface IJsonModel<InvoiceDocument>
    interface IPersistableModel<InvoiceDocument>
Public Class InvoiceDocument
Implements IJsonModel(Of InvoiceDocument), IPersistableModel(Of InvoiceDocument)
Inheritance
InvoiceDocument
Implements

Properties

DocumentNumbers

The document numbers for the invoice document.

ExternalUri

The URL to download the invoice document if the source is external to Microsoft.Billing.

Kind

The type of the document.

Name

The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.

Source

The source of the document. ENF for Brazil and DRS for rest of the world.

Uri

The URL to download the invoice document if the source is internal to Microsoft.Billing.

Explicit Interface Implementations

IJsonModel<InvoiceDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<InvoiceDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InvoiceDocument>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InvoiceDocument>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<InvoiceDocument>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to