/** * The Selling Partner API for Invoices * The Selling Partner API for Invoices enables you to retrieve invoice data and streamline your bookkeeping processes. * * The version of the OpenAPI document: 2026-06-25 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { Currency } from './Currency.js'; import { PartnerMetadata } from './PartnerMetadata.js'; /** * The InvoiceHeader model module. * @module financesinvoices_v2026_06_25/model/InvoiceHeader * @version 2026-06-25 */ export declare class InvoiceHeader { invoiceNumber: string; invoiceStatus: string; invoiceType: string; payer: PartnerMetadata; payee: PartnerMetadata; invoiceIdentifier: string; issueDate: Date; invoiceAmount: Currency; creationDate: Date; lastUpdatedDate: Date; /** * Constructs a new InvoiceHeader. * Represents the header-level information for an invoice, including parties involved (payer/payee), financial amounts, status, dates, and related business identifiers. * @alias module:financesinvoices_v2026_06_25/model/InvoiceHeader * @class * @param invoiceNumber {String} The invoice number provided when the invoice was created. * @param invoiceStatus {String} The current state of the invoice. * @param invoiceType {String} The type of invoice. * @param payer {PartnerMetadata} * @param payee {PartnerMetadata} * @param invoiceIdentifier {String} The unique identifier for an invoice. For AP-Inventory invoices, this is formatted as `InvoiceNumber~PayeeCode`. This field can be used as an input to the `getInvoice` operation to fetch invoice details. * @param issueDate {Date} When the invoice was issued. In ISO 8601 format. * @param invoiceAmount {Currency} * @param creationDate {Date} When the invoice was created. In ISO 8601 format. * @param lastUpdatedDate {Date} When the invoice was last updated. In ISO 8601 format. */ constructor(invoiceNumber: string, invoiceStatus: string, invoiceType: string, payer: PartnerMetadata, payee: PartnerMetadata, invoiceIdentifier: string, issueDate: Date, invoiceAmount: Currency, creationDate: Date, lastUpdatedDate: Date); /** * Constructs a InvoiceHeader from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {InvoiceHeader} obj Optional instance to populate. * @return {InvoiceHeader} The populated InvoiceHeader instance. */ static constructFromObject(data: Object, obj: InvoiceHeader): InvoiceHeader; } export declare namespace InvoiceHeader { var InvoiceStatusEnum: { /** * value: "IN_PROGRESS" * @const */ IN_PROGRESS: string; /** * value: "REJECTED" * @const */ REJECTED: string; /** * value: "PARTIALLY_PAID" * @const */ PARTIALLY_PAID: string; /** * value: "PARTIALLY_DEDUCTED" * @const */ PARTIALLY_DEDUCTED: string; /** * value: "PAID" * @const */ PAID: string; /** * value: "DEDUCTED" * @const */ DEDUCTED: string; }; var InvoiceTypeEnum: { /** * value: "AP_INVENTORY" * @const */ AP_INVENTORY: string; /** * value: "OTHER" * @const */ OTHER: string; }; } //# sourceMappingURL=InvoiceHeader.d.ts.map