Accounting API Developer's Reference

c2g.CODAAPIPurchaseCreditNoteTypes_7_0

global with sharing class CODAAPIPurchaseCreditNoteTypes_7_0

Holds information about section properties for a print format. See the Property Reference section in the FinancialForcePrint Formatter Help for more information.

Enums

enumCreditNoteStatus

Possible purchase invoice statuses.

Value Description
InProgress The document has been saved, but has not been posted.
Complete The document has been posted.
Discarded The document is no longer required, but evidence needs to be retained. You must provide a discard reason.

enumIncomeTaxType

Category of 1099 income tax. These types relate to the boxes on Form 1099-MISC.

c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote

global with sharing class PurchaseCreditNote

Holds information about section properties for a print format. See the Property Reference section in the FinancialForcePrint Formatter Help for more information.

Properties

Name Type Description
Id id Globally unique string that identifies the record.
OwnerId c2g.CODAAPICommon.Reference ID of the user who owns the record.
IsDeleted boolean Indicates whether the record has been moved to the Recycle Bin (true) or not (false).
Name string Unique number allocated to the purchase credit note.
CreatedDate datetime Date and time when the record was created.
CreatedById c2g.CODAAPICommon.Reference ID of the user who created the record.
LastModifiedDate datetime Date and time when the record was last modified by a user.
LastModifiedById c2g.CODAAPICommon.Reference ID of the user who last modified the record.
SystemModstamp datetime Date and time when the record was last modified by a user or by a workflow process (such as a trigger).
AccountCreditNoteNumber string Credit note number shown on the vendor's credit note.
AccountInvoiceNumber string Invoice number on the credit note delivered by the vendor.
Account c2g.CODAAPICommon.Reference Vendor account for this purchase credit note. Mandatory.
CreditNoteCurrency c2g.CODAAPICommon.Reference Currency in which monetary values are expressed on this purchase credit note. Mandatory.
CreditNoteRate decimal The exchange rate for document to home currency.
DualRate decimal The exchange rate for home to dual currency.
CreditNoteDate date Date that appears on the sales credit note sent by the vendor. Mandatory.
CreditNoteDescription string Description of the purchase credit note that can be used to include comments.
CreditNoteReason string Reason for the credit note, such as "Goods Returned" or "Incorrect Shipment".
CreditNoteStatus enum Current status of the purchase credit note. Mandatory.
CreditNoteTotal decimal Total credit note value, including the tax.
Dimension1 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
Dimension2 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
Dimension3 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
Dimension4 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
DiscardReason string Reason why the purchase credit note was discarded.
DueDate date Date the purchase credit note is due for payment. Mandatory.
IncomeTaxTypeRef c2g.CODAAPIPurchaseCreditNoteTypes_7_0.enumIncomeTaxType Default category of 1099 income tax withheld for this account or Not Reportable. These types relate to the boxes on Form 1099-MISC.
InvoiceDate date Date of the related purchase invoice, if relevant.
NetTotal decimal Total value of items on the purchase credit note, before tax.
OutstandingValue decimal Amount still owed on this document in document currency.
OwnerCompany c2g.CODAAPICommon.Reference Reference to the Company to which this document belongs.
PaymentStatus string Is this document "Unpaid", "Part Paid", or "Paid"?
Period c2g.CODAAPICommon.Reference Reference to the accounting Period in which this document falls. Mandatory.
Reference1 string The vendor's order number, your organization or company's order number, the buyer's name, or any other reference detail.
Reference2 string The vendor's order number, your organization or company's order number, the buyer's name, or any other reference detail.
RegisteredDate date Date the purchase credit note was entered.
TaxCode1 c2g.CODAAPICommon.Reference Reference to the (VAT) tax code to use, along with the credit note date, to derive the tax for this line.
TaxTotal decimal Total value of tax on the purchase credit note.
TransactionRef c2g.CODAAPICommon.Reference Reference to the Transaction created when the purchase credit note was posted.
Year string Name of the year.
ExpensesNetTotal decimal Total value of expense line items on the credit note, before tax.
ExpensesTax1Total decimal Total value of tax on expense lines items posted to (VAT) tax code 1.
ItemsNetTotal decimal Total value of product items on the credit note, before tax.
ItemsTax1Total decimal Total value of tax on product line items posted to (VAT) tax code 1.
LineItems CODAAPIPurchaseCreditNoteLineTypes_7_0.PurchaseCreditNote Reference to the associated purchase credit note line items (product lines). Mandatory.
ExpLineItems CODAAPIPurchaseCreditNoteExLineTypes_7_0.PurchaseCreditNote Reference to the associated purchase credit note line items (expense lines).