Moloni developers espana logo

PurchaseOrderRead

Back


Reads a PurchaseOrders

Return a PurchaseOrders with the specified Id.

Fields

documentId: Int!

companyId: Int!

fiscalZone: String

company: CompanyRead!

documentTypeId: Int!

documentType: DocumentTypeRead!

year: Int

totalValue: Float!

documentTotal: Float

reconciledValue: Float

geographicZoneId: Int

geographicZone: GeographicZoneRead

remainingReconciledValue: Float

reconciliationPercentage: Float

currencyExchangeTotalValue: Float

documentCalculationsMode: Int

documentSetName: String!

pdfExport: String

The path to the pdf file at mediaAPI OR
null = PDF generation not requested
empty string = PDF pending generation

deletable: Boolean

totalRelatedAppliedValue: Float

downloads: Int

nullifiable: Boolean

lastOperations: LastOperationsRead

posRequestId: String

emailsCount: Int

created: LogInfo

updated: LogInfo

number: Int

documentSet: DocumentSetRead

entityVat: String

entityNumber: String

entityName: String

entityAddress: String

entityZipCode: String

entityCity: String

entityCountryName: String

country: CountryRead

grossValue: Float

financialDiscount: Float

globalDiscount: Float

globalDiscountValue: Float

commercialDiscountValue: Float

totalDiscountValue: Float

taxesValue: Float

date: DateTime

expirationDate: Date

maturityDate: MaturityDateRead

maturityDateDays: Int

maturityDateName: String

timezone: TimezoneRead

terminal: TerminalRead

yourReference: String

ourReference: String

customer: CustomerRead

alternateAddress: AlternateAddressRead

salesperson: SalespersonRead

salespersonCommission: Float

economicActivityClassificationCode: EconomicActivityClassificationCodeRead

relatedIn: [RelatedDocumentRead]

relatedWith: [RelatedDocumentRead]

notesRelatedDocs: String

products: [DocumentProductRead]

currencyExchange: CurrencyExchangeRead

currencyExchangeExchange: Float

deliveryMethod: DeliveryMethodRead

deliveryMethodName: String

vehicle: VehicleRead

deliveryVehicleName: String

deliveryVehicleLicensePlate: String

deliveryLoadDate: DateTime

deliveryLoadAddress: String

deliveryLoadCity: String

deliveryLoadZipCode: String

deliveryLoadCountry: CountryRead

deliveryUnloadAddress: String

deliveryUnloadCity: String

deliveryUnloadZipCode: String

deliveryUnloadCountry: CountryRead

notes: String

status: Int

suspended: Boolean

nullified: Boolean

retentionsValue: Float

file: String

fileOriginal: String

taxes: [DocumentTaxRead!]!