- addBrandAgreementRule
Description:
Adds brand agreement rules
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/invoicing-erp/v2/addBrandAgreementRule
Input:
addBrandAgreementRule (soap:body, use = literal)
Source codeaddBrandAgreementRule type AddBrandAgreementRule Possible error codes:
5002: Issuer does not exist or user is not authorized to view information about this issuer.
5006: Invalid billing account number. Must be a Norwegian account number with 11 digits and modulus 11 valid.
5007: Invalid CustomerReferencePosition. Must be on the format KID[digit-digit].
5008: Brand agreement rule already exists.
Output:
addBrandAgreementRuleResponse (soap:body, use = literal)
Source codeaddBrandAgreementRuleResponse type AddBrandAgreementRuleResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- addInvoices
Description:
Creates an invoice that is to be displayed in the online bank
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-service.nets.no/invoicing-erp/v2/addInvoices
Input:
addInvoices type AddInvoices To get status for the invoices and consignments use the getInvoiceStatus and
getConsignmentStatus call.
Output:
addInvoicesResponse (soap:body, use = literal)
Source codeaddInvoicesResponse type AddInvoicesResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- createIssuer
Description:
Creates a efaktura B2C issuer
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/invoicing-erp/v2/createIssuer
Input:
createIssuer type CreateIssuer Possible error codes:
5003: Issuer already exists
5006: Invalid billing account number. Must be a Norwegian account number with 11 digits and modulus 11 valid.
5007: Invalid CustomerReferencePosition. Must be on the format KID[digit-digit].
- auditInformation type AuditInformationType
Information used for auditing and logging messages
- name type NameType - type string with restriction maxLength(100) minLength(1)
Name of the issuer
- organizationNumber type OrganizationNumberType - type string with restriction maxLength(9) minLength(9)
Organization number of the issuer
- billingAccountNumber type BillingAccountNumberType - type string with restriction length(11)
The account number that the issuer will be billed on. Must be a Norwegian account number with 11 digits
- emailAddress type EmailAddressType - type string with restriction maxLength(255) minLength(1)
The email address of the issuer
- postalCode type PostalCodeType - type string with restriction maxLength(10) minLength(4)
The postal code of the address of the issuer
- postalCity type PostalCityType - type string with restriction maxLength(30) minLength(1)
The postal city of the address of the issuer
- countryCode type CountryCodeType - type string with restriction maxLength(2) minLength(2)
The country code of the issuer
- brandAgreementRule - optional; type BrandAgreementRuleType
Output:
createIssuerResponse (soap:body, use = literal)
Source codecreateIssuerResponse type CreateIssuerResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- deleteBrandAgreementRule
Description:
Deletes brand agreement rules
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/invoicing-erp/v2/deleteBrandAgreementRule
Input:
deleteBrandAgreementRule (soap:body, use = literal)
Source codedeleteBrandAgreementRule type DeleteBrandAgreementRule Possible error codes:
5002: Issuer does not exist or user is not authorized to view information about this issuer.
5011: Unable to delete brand agreement rule. It does not exist or is already deleted
- auditInformation type AuditInformationType
Information used for auditing and logging messages
- issuerId type OrganizationNumberType - type string with restriction maxLength(9) minLength(9)
Organization number of the issuer
- brandUniqueNumber type BrandUniqueNumberType - type long with restriction
Unique brand agreement rule number generated by Nets. To be used for deleteBrandAgreementRule
Output:
deleteBrandAgreementRuleResponse (soap:body, use = literal)
Source codedeleteBrandAgreementRuleResponse type DeleteBrandAgreementRuleResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- deleteIssuer
Description:
Deletes the given issuer
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/invoicing-erp/v2/deleteIssuer
Input:
deleteIssuer type DeleteIssuer Possible error codes:
5002: Issuer does not exist or user is not authorized to view information about this issuer.
Output:
deleteIssuerResponse (soap:body, use = literal)
Source codedeleteIssuerResponse type DeleteIssuerResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getConsignmentStatus
Description:
Get status on consignment
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-service.nets.no/invoicing-erp/v2/getConsignmentStatus
Input:
getConsignmentStatus (soap:body, use = literal)
Source codegetConsignmentStatus type GetConsignmentStatus Possible validation error codes from operation
5009 - Unable to find consignment
5010 - Multiple consignments found for id
Output:
getConsignmentStatusResponse (soap:body, use = literal)
Source codegetConsignmentStatusResponse type GetConsignmentStatusResponse - messageIdentifier type MessageIdentifierType - type string with restriction minLength(5) maxLength(50)
A unique identifier for a request/response message pair used for logging
- status type ConsignmentStatusType - type string with restriction - enum { 'IN_PROGRESS', 'PROCESSED', 'REJECTED', 'STOPPED' }
- rejectedReason - optional; type RejectReasonType - type string with restriction maxLength(2000) minLength(1)
The reason the invoice or consignment was rejected.
- acceptedInvoiceCount type long
- rejectedInvoiceCount type long
- rejectedInvoices - optional; type RejectedInvoicesType
- rejectedInvoice - optional; type RejectedInvoiceType
List of rejected invoices.
Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getEfakturaIdentifiers
Description:
Returns efakturaIdentifier and auto accept agreement if the receiver is found by
efaktura identifier, personalnumber, organization number, phone, email, name, or address.
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-service.nets.no/invoicing-erp/v2/getEfakturaIdentifiers
Input:
getEfakturaIdentifiers (soap:body, use = literal)
Source codegetEfakturaIdentifiers type GetEfakturaIdentifiers Output:
getEfakturaIdentifiersResponse (soap:body, use = literal)
Source codegetEfakturaIdentifiersResponse type GetEfakturaIdentifiersResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getInvoiceStatus
Description:
Gets an already created invoice
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-service.nets.no/invoicing-erp/v2/getInvoiceStatus
Input:
getInvoiceStatus type GetInvoiceStatus Output:
getInvoiceStatusResponse (soap:body, use = literal)
Source codegetInvoiceStatusResponse type GetInvoiceStatusResponse - messageIdentifier type MessageIdentifierType - type string with restriction minLength(5) maxLength(50)
A unique identifier for a request/response message pair used for logging
- invoiceStatusResponses type InvoiceStatusResponsesType
List of invoices, with status
- invoiceStatusResponse type InvoiceStatusResponseType
- issuer type OrganizationNumberType - type string with restriction maxLength(9) minLength(9)
Organization number of the issuer
- invoiceNumber type InvoiceNumberType - type string with restriction maxLength(100) minLength(1)
Unique reference to the invoice for the issuer.
- status type InvoiceStatusType - type string with restriction - enum { 'PROCESSED', 'REJECTED', 'IN_PROGRESS', 'DUPLICATE', 'NOT_FOUND', 'CANCELLED' }
- rejectReason - optional; type RejectReasonType - type string with restriction maxLength(2000) minLength(1)
The reason the invoice or consignment was rejected.
Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.
- getIssuer
Description:
Get the issuer with the given issuer id
Operation type:
Request-response. The endpoint receives a message, and sends a correlated message.
SOAP action:
https://efaktura-services.nets.no/invoicing-erp/v2/getIssuer
Input:
getIssuer type GetIssuer Possible error codes:
5002: Issuer does not exist or user is not authorized to view information about this issuer.
Output:
getIssuerResponse (soap:body, use = literal)
Source codegetIssuerResponse type GetIssuerResponse Fault:
validationFault type ValidationFault Indicates that the client has sent an invalid request.
Fault:
serverFault type ServerFault Indicates an internal server error.