Query Pending Download Purchases
This endpoint allows querying purchase invoices pending download for B2B.
Call
Result
The result will be an object of type B2BQueryPendingDownloadPurchasesResult containing a list of objects of type PendingPurchases with the following information:
SeriesNumber: Invoice identifier (Series and Number).DateAndTime: Invoice issuance date.SellerTin: Seller's Tax ID (NIF).SellerBusinessName: Seller's business name.BuyerTin: Buyer's Tax ID (NIF).BuyerBusinessName: Buyer's business name.TransactionDate: Transaction date.Total: Invoice total.TotalTaxes: Total invoice taxes.ExternalReference: Invoice external reference.
foreach (var pendingPurchase in result.PendingPurchases)
{
pendingPurchase.SeriesNumber
pendingPurchase.DateAndTime
pendingPurchase.SellerTin
pendingPurchase.SellerBusinessName
pendingPurchase.BuyerTin
pendingPurchase.BuyerBusinessName
pendingPurchase.TransactionDate
pendingPurchase.Total
pendingPurchase.TotalTaxes
pendingPurchase.ExternalReference
}